public class DefaultBandanaPersister extends Object implements BambooBandanaPersister
Constructor and Description |
---|
DefaultBandanaPersister(BandanaItemDao bandanaItemDao) |
Modifier and Type | Method and 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) |
public DefaultBandanaPersister(BandanaItemDao bandanaItemDao)
@Nullable public @Nullable Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
retrieve
in interface com.atlassian.bandana.BandanaPersister
@NotNull public @NotNull Map<String,Object> retrieve(com.atlassian.bandana.BandanaContext context)
retrieve
in interface com.atlassian.bandana.BandanaPersister
@NotNull public @NotNull Iterable<String> retrieveKeys(com.atlassian.bandana.BandanaContext context)
retrieveKeys
in interface com.atlassian.bandana.BandanaPersister
public void store(com.atlassian.bandana.BandanaContext context, String key, Object value)
store
in interface com.atlassian.bandana.BandanaPersister
public void flushCaches()
flushCaches
in interface com.atlassian.bandana.BandanaPersister
public void remove(com.atlassian.bandana.BandanaContext context)
remove
in interface com.atlassian.bandana.BandanaPersister
public void remove(com.atlassian.bandana.BandanaContext context, String key)
remove
in interface com.atlassian.bandana.BandanaPersister
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.