public abstract class ExternalCacheKeyGenerator extends Object
| Constructor and Description |
|---|
ExternalCacheKeyGenerator(String productIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
String |
cacheVersionKey(String partition,
String cacheName)
Generates the key used to hold the cache version number.
|
protected abstract String |
encode(String plain)
Responsible for encoding the plain key using the appropriate algorithm.
|
String |
entryKey(String partition,
String cacheName,
long cacheVersion,
String entryKey)
Generates the key for an individual entry.
|
public ExternalCacheKeyGenerator(String productIdentifier)
@Nonnull public String entryKey(String partition, String cacheName, long cacheVersion, String entryKey)
@Nonnull public String cacheVersionKey(String partition, String cacheName)
Copyright © 2015 Atlassian. All rights reserved.