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) |
Map<String,Object> |
retrieve(com.atlassian.bandana.BandanaContext context) |
Object |
retrieve(com.atlassian.bandana.BandanaContext context,
String key) |
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 Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
retrieve
in interface com.atlassian.bandana.BandanaPersister
@NotNull public Map<String,Object> retrieve(com.atlassian.bandana.BandanaContext context)
retrieve
in interface com.atlassian.bandana.BandanaPersister
@NotNull public 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.