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