public class BambooCachingBandanaPersister extends Object implements com.atlassian.bandana.BandanaPersister
Constructor and Description |
---|
BambooCachingBandanaPersister(com.atlassian.bandana.BandanaPersister delegate) |
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)
Don't bother using the cache
|
Object |
retrieve(com.atlassian.bandana.BandanaContext context,
String key) |
Iterable<String> |
retrieveKeys(com.atlassian.bandana.BandanaContext context)
Don't bother using the cache
|
void |
store(com.atlassian.bandana.BandanaContext context,
String key,
Object value) |
public BambooCachingBandanaPersister(com.atlassian.bandana.BandanaPersister delegate)
@Nullable public Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
retrieve
in interface com.atlassian.bandana.BandanaPersister
@NotNull public Map<String,Object> retrieve(@NotNull com.atlassian.bandana.BandanaContext context)
retrieve
in interface com.atlassian.bandana.BandanaPersister
context
- @NotNull public Iterable<String> retrieveKeys(com.atlassian.bandana.BandanaContext context)
retrieveKeys
in interface com.atlassian.bandana.BandanaPersister
context
- 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.