Class HotrodInfinispanProxyManager<K>
java.lang.Object
io.github.bucket4j.distributed.proxy.AbstractProxyManager<K>
io.github.bucket4j.grid.infinispan.hotrod.HotrodInfinispanProxyManager<K>
- All Implemented Interfaces:
ProxyManager<K>
The extension of Bucket4j library addressed to support Infinispan in-memory computing platform via Hotrod client.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescription<T> CommandResult<T><T> CompletableFuture<CommandResult<T>>executeAsync(K key, Request<T> request) booleanbooleanprotected CompletableFuture<Void>removeAsync(K key) voidremoveProxy(K key) Methods inherited from class io.github.bucket4j.distributed.proxy.AbstractProxyManager
asAsync, builder, currentTimeNanos, getBackwardCompatibilityVersion, getClientSideConfig, getClientSideTime, getProxyConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.bucket4j.distributed.proxy.ProxyManager
getProxy, withMapper
-
Constructor Details
-
HotrodInfinispanProxyManager
public HotrodInfinispanProxyManager(Bucket4jInfinispan.HotrodInfinispanProxyManagerBuilder<K> builder)
-
-
Method Details
-
execute
- Specified by:
executein classAbstractProxyManager<K>
-
isAsyncModeSupported
public boolean isAsyncModeSupported() -
removeProxy
-
removeAsync
- Specified by:
removeAsyncin classAbstractProxyManager<K>
-
executeAsync
- Specified by:
executeAsyncin classAbstractProxyManager<K>
-
isExpireAfterWriteSupported
public boolean isExpireAfterWriteSupported()
-