public interface TaskArtifactStateCacheAccess
| Modifier and Type | Method and Description |
|---|---|
<K,V> PersistentIndexedCache |
createCache(String cacheName,
Class<K> keyType,
Class<V> valueType) |
<K,V> PersistentIndexedCache<K,V> |
createCache(String cacheName,
Class<K> keyType,
Class<V> valueType,
Serializer<V> valueSerializer) |
void |
longRunningOperation(String operationDisplayName,
Runnable action)
Performs some long running operation.
|
<T> T |
useCache(String operationDisplayName,
Factory<? extends T> action)
Performs some work against the cache.
|
void |
useCache(String operationDisplayName,
Runnable action)
Performs some work against the cache.
|
<T> T useCache(String operationDisplayName, Factory<? extends T> action)
This method is re-entrant, so that an action can call back into this method.
void useCache(String operationDisplayName, Runnable action)
This method is re-entrant, so that an action can call back into this method.
void longRunningOperation(String operationDisplayName, Runnable action)
This method is re-entrant, so that an action can call back into this method.
<K,V> PersistentIndexedCache createCache(String cacheName, Class<K> keyType, Class<V> valueType)
<K,V> PersistentIndexedCache<K,V> createCache(String cacheName, Class<K> keyType, Class<V> valueType, Serializer<V> valueSerializer)
Copyright © 2013. All rights reserved