V - the value typepublic class VersionedExternalCacheRequestContext<V> extends AbstractExternalCacheRequestContext<V>
ExternalCache that maintains a
cache version.AbstractExternalCacheRequestContext.DeferredOperation<V>| Modifier and Type | Field and Description |
|---|---|
protected String |
externalCacheVersionKey |
name| Constructor and Description |
|---|
VersionedExternalCacheRequestContext(ExternalCacheKeyGenerator keyGenerator,
String name,
Supplier<String> partitionSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
cacheVersion() |
String |
externalCacheVersionKey() |
void |
updateCacheVersion(long value) |
clearKeyMaps, computeValue, externalEntryKeyFor, forgetAll, forgetAllValues, forgetValue, getKeyedOperations, getValueRecorded, hasPendingOperations, hasRemoveAll, internalEntryKeyFor, recordPut, recordPutPolicy, recordRemove, recordRemoveAll, recordValue, recordValue, recordValuesprotected final String externalCacheVersionKey
public VersionedExternalCacheRequestContext(ExternalCacheKeyGenerator keyGenerator, String name, Supplier<String> partitionSupplier)
protected long cacheVersion()
cacheVersion in class AbstractExternalCacheRequestContext<V>public void updateCacheVersion(long value)
public String externalCacheVersionKey()
Copyright © 2016 Atlassian. All rights reserved.