public interface StoreKeyConverter
Modifier and Type | Method and Description |
---|---|
java.util.Map<StoreKey,StoreKey> |
convert(java.util.Collection<? extends StoreKey> input)
Returns a mapping for every
StoreKey in input . |
void |
dropCache()
Drops the cache reference used by
StoreKeyConverter |
StoreKey |
getConverted(StoreKey storeKey)
Returns converted storeKey.
|
java.util.Map<StoreKey,StoreKey> convert(java.util.Collection<? extends StoreKey> input) throws java.lang.Exception
StoreKey getConverted(StoreKey storeKey)
convert(Collection)
, as
intention is that this will retrieve an already converted storeKey. If called prior to
convert(Collection)
it may throw an IllegalStateExceptionstoreKey
- storeKey you want the converted version of. If the key was not apart
of a previous convert(Collection)
call, method may throw
IllegalStateExceptionvoid dropCache()
StoreKeyConverter