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) |
@NotNull Map<String,Object> |
retrieve(@NotNull com.atlassian.bandana.BandanaContext context)
Don't bother using the cache
|
@Nullable Object |
retrieve(com.atlassian.bandana.BandanaContext context,
String key) |
@NotNull 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 @Nullable Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
retrieve
in interface com.atlassian.bandana.BandanaPersister
@NotNull public @NotNull Map<String,Object> retrieve(@NotNull @NotNull com.atlassian.bandana.BandanaContext context)
retrieve
in interface com.atlassian.bandana.BandanaPersister
context
- @NotNull public @NotNull 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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.