public abstract class AbstractKeyStrategy extends Object implements KeyStrategy
Concatenates the three key components; regionName, clearIndex and key.
Subclasses are responsible for transforming the Key object into something identifyable.
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
AbstractKeyStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
concatenateKey(String regionName,
long clearIndex,
Object key) |
String |
toKey(String regionName,
long clearIndex,
Object key) |
protected abstract String |
transformKeyObject(Object key) |
public String toKey(String regionName, long clearIndex, Object key)
toKey in interface KeyStrategyCopyright © 2017. All rights reserved.