public interface CacheInvoker
Modifier and Type | Interface and Description |
---|---|
static interface |
CacheInvoker.Operation<K,V,R>
Encapsulates a cache operation.
|
Modifier and Type | Method and Description |
---|---|
<K,V,R> R |
invoke(org.infinispan.Cache<K,V> cache,
CacheInvoker.Operation<K,V,R> operation,
org.infinispan.context.Flag... flags)
Invokes the specified operation on the specified cache.
|
<K,V,R> R invoke(org.infinispan.Cache<K,V> cache, CacheInvoker.Operation<K,V,R> operation, org.infinispan.context.Flag... flags)
R
- the type of the cache operation resultcache
- an infinispan cacheoperation
- a cache operationflags
- an optional set of invocation flagsCopyright © 2015 JBoss by Red Hat. All rights reserved.