public class SimpleCacheInvoker extends Object implements CacheInvoker
CacheInvoker.Operation<K,V,R>
Constructor and Description |
---|
SimpleCacheInvoker() |
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.
|
public <K,V,R> R invoke(org.infinispan.Cache<K,V> cache, CacheInvoker.Operation<K,V,R> operation, org.infinispan.context.Flag... flags)
CacheInvoker
invoke
in interface CacheInvoker
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.