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