Module io.github.bucket4j.hazelcast
Class HazelcastCompareAndSwapBasedProxyManager<K>
java.lang.Object
io.github.bucket4j.distributed.proxy.AbstractProxyManager<K>
io.github.bucket4j.distributed.proxy.generic.compare_and_swap.AbstractCompareAndSwapBasedProxyManager<K>
io.github.bucket4j.grid.hazelcast.HazelcastCompareAndSwapBasedProxyManager<K>
- All Implemented Interfaces:
ProxyManager<K>
public class HazelcastCompareAndSwapBasedProxyManager<K>
extends AbstractCompareAndSwapBasedProxyManager<K>
-
Constructor Summary
ConstructorsConstructorDescriptionHazelcastCompareAndSwapBasedProxyManager(com.hazelcast.map.IMap<K, byte[]> map) Deprecated.HazelcastCompareAndSwapBasedProxyManager(com.hazelcast.map.IMap<K, byte[]> map, ClientSideConfig clientSideConfig) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected AsyncCompareAndSwapOperationprotected CompareAndSwapOperationbooleanprotected CompletableFuture<Void>removeAsync(K key) voidremoveProxy(K key) Methods inherited from class io.github.bucket4j.distributed.proxy.generic.compare_and_swap.AbstractCompareAndSwapBasedProxyManager
execute, executeAsyncMethods 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, isExpireAfterWriteSupported, withMapper
-
Constructor Details
-
HazelcastCompareAndSwapBasedProxyManager
Deprecated. -
HazelcastCompareAndSwapBasedProxyManager
@Deprecated public HazelcastCompareAndSwapBasedProxyManager(com.hazelcast.map.IMap<K, byte[]> map, ClientSideConfig clientSideConfig) Deprecated.
-
-
Method Details
-
removeAsync
- Specified by:
removeAsyncin classAbstractProxyManager<K>
-
isAsyncModeSupported
public boolean isAsyncModeSupported() -
removeProxy
-
beginCompareAndSwapOperation
- Specified by:
beginCompareAndSwapOperationin classAbstractCompareAndSwapBasedProxyManager<K>
-
beginAsyncCompareAndSwapOperation
- Specified by:
beginAsyncCompareAndSwapOperationin classAbstractCompareAndSwapBasedProxyManager<K>
-
Bucket4jHazelcast.casBasedBuilder(IMap)