Class HazelcastClientCPSemaphoreNamedLockFactory
java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.hazelcast.HazelcastSemaphoreNamedLockFactory
org.eclipse.aether.named.hazelcast.HazelcastClientCPSemaphoreNamedLockFactory
- All Implemented Interfaces:
NamedLockFactory
@Singleton
@Named("semaphore-hazelcast-client")
public class HazelcastClientCPSemaphoreNamedLockFactory
extends HazelcastSemaphoreNamedLockFactory
HazelcastSemaphoreNamedLockFactory
using DirectHazelcastSemaphoreProvider
and Hazelcast client. The
client must be configured to connect to some existing cluster (w/ proper configuration applied).-
Field Summary
Fields inherited from class org.eclipse.aether.named.hazelcast.HazelcastSemaphoreNamedLockFactory
hazelcastInstance, manageHazelcast
Fields inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
logger
-
Constructor Summary
ConstructorDescriptionThe default constructor: creates own instance of Hazelcast using standard Hazelcast configuration discovery.HazelcastClientCPSemaphoreNamedLockFactory
(com.hazelcast.core.HazelcastInstance hazelcastInstance, boolean manageHazelcast) Constructor for customization. -
Method Summary
Methods inherited from class org.eclipse.aether.named.hazelcast.HazelcastSemaphoreNamedLockFactory
createLock, destroyLock, shutdown
Methods inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
closeLock, getLock, isDiagnosticEnabled, onFailure
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
HazelcastClientCPSemaphoreNamedLockFactory
The default constructor: creates own instance of Hazelcast using standard Hazelcast configuration discovery. -
HazelcastClientCPSemaphoreNamedLockFactory
public HazelcastClientCPSemaphoreNamedLockFactory(com.hazelcast.core.HazelcastInstance hazelcastInstance, boolean manageHazelcast) Constructor for customization.
-