Package com.atlassian.bamboo.bandana
Class DefaultBandanaPersister
- java.lang.Object
-
- com.atlassian.bamboo.bandana.DefaultBandanaPersister
-
- All Implemented Interfaces:
BambooBandanaPersister
,com.atlassian.bandana.BandanaPersister
public class DefaultBandanaPersister extends Object implements BambooBandanaPersister
-
-
Constructor Summary
Constructors Constructor Description DefaultBandanaPersister(BandanaItemDao bandanaItemDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flushCaches()
void
remove(com.atlassian.bandana.BandanaContext context)
void
remove(com.atlassian.bandana.BandanaContext context, String key)
@NotNull Map<String,Object>
retrieve(com.atlassian.bandana.BandanaContext context)
@Nullable Object
retrieve(com.atlassian.bandana.BandanaContext context, String key)
@NotNull Iterable<String>
retrieveKeys(com.atlassian.bandana.BandanaContext context)
void
store(com.atlassian.bandana.BandanaContext context, String key, Object value)
-
-
-
Constructor Detail
-
DefaultBandanaPersister
public DefaultBandanaPersister(BandanaItemDao bandanaItemDao)
-
-
Method Detail
-
retrieve
@Nullable public @Nullable Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
- Specified by:
retrieve
in interfacecom.atlassian.bandana.BandanaPersister
-
retrieve
@NotNull public @NotNull Map<String,Object> retrieve(com.atlassian.bandana.BandanaContext context)
- Specified by:
retrieve
in interfacecom.atlassian.bandana.BandanaPersister
-
retrieveKeys
@NotNull public @NotNull Iterable<String> retrieveKeys(com.atlassian.bandana.BandanaContext context)
- Specified by:
retrieveKeys
in interfacecom.atlassian.bandana.BandanaPersister
-
store
public void store(com.atlassian.bandana.BandanaContext context, String key, Object value)
- Specified by:
store
in interfacecom.atlassian.bandana.BandanaPersister
-
flushCaches
public void flushCaches()
- Specified by:
flushCaches
in interfacecom.atlassian.bandana.BandanaPersister
-
remove
public void remove(com.atlassian.bandana.BandanaContext context)
- Specified by:
remove
in interfacecom.atlassian.bandana.BandanaPersister
-
remove
public void remove(com.atlassian.bandana.BandanaContext context, String key)
- Specified by:
remove
in interfacecom.atlassian.bandana.BandanaPersister
-
-