Module io.github.bucket4j.hazelcast
Class HazelcastLockBasedProxyManager<K>
java.lang.Object
io.github.bucket4j.distributed.proxy.AbstractProxyManager<K>
io.github.bucket4j.distributed.proxy.generic.pessimistic_locking.AbstractLockBasedProxyManager<K>
io.github.bucket4j.grid.hazelcast.HazelcastLockBasedProxyManager<K>
- All Implemented Interfaces:
ProxyManager<K>
-
Constructor Summary
ConstructorsConstructorDescriptionHazelcastLockBasedProxyManager(com.hazelcast.map.IMap<K, byte[]> map) Deprecated.HazelcastLockBasedProxyManager(com.hazelcast.map.IMap<K, byte[]> map, ClientSideConfig clientSideConfig) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected LockBasedTransactionallocateTransaction(K key, Optional<Long> requestTimeout) booleanbooleanvoidremoveProxy(K key) Methods inherited from class io.github.bucket4j.distributed.proxy.generic.pessimistic_locking.AbstractLockBasedProxyManager
applyTimeout, execute, executeAsync, removeAsyncMethods 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
-
HazelcastLockBasedProxyManager
public HazelcastLockBasedProxyManager(Bucket4jHazelcast.HazelcastLockBasedProxyManagerBuilder<K> builder) -
HazelcastLockBasedProxyManager
Deprecated. -
HazelcastLockBasedProxyManager
@Deprecated public HazelcastLockBasedProxyManager(com.hazelcast.map.IMap<K, byte[]> map, ClientSideConfig clientSideConfig) Deprecated.
-
-
Method Details
-
removeProxy
-
isAsyncModeSupported
public boolean isAsyncModeSupported()- Specified by:
isAsyncModeSupportedin interfaceProxyManager<K>- Overrides:
isAsyncModeSupportedin classAbstractLockBasedProxyManager<K>
-
isExpireAfterWriteSupported
public boolean isExpireAfterWriteSupported() -
allocateTransaction
- Specified by:
allocateTransactionin classAbstractLockBasedProxyManager<K>
-
Bucket4jHazelcast.lockBasedBuilder(IMap)