public class RetryingCacheInvoker extends Object implements CacheInvoker
CacheInvoker.Operation<K,V,R>| Constructor and Description |
|---|
RetryingCacheInvoker(int... backOffIntervals)
Creates a new RetryingCacheInvoker.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V,R> R |
invoke(org.infinispan.Cache<K,V> cache,
CacheInvoker.Operation<K,V,R> operation)
Invokes the specified operation on the specified cache.
|
public RetryingCacheInvoker(int... backOffIntervals)
backOffIntervals - specifies the sleep intervals between retries, and implicitly, the number of retriespublic <K,V,R> R invoke(org.infinispan.Cache<K,V> cache,
CacheInvoker.Operation<K,V,R> operation)
invoke in interface CacheInvokerR - the type of the cache operation resultcache - an infinispan cacheoperation - a cache operationorg.jboss.ha.web.tomcat.service.session.distributedcache.impl.CacheInvoker#invoke(org.infinispan.Cache,
org.jboss.ha.web.tomcat.service.session.distributedcache.impl.CacheInvoker.Operation)Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.