Class HazelcastCPSemaphoreNamedLockFactory
java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.hazelcast.HazelcastSemaphoreNamedLockFactory
org.eclipse.aether.named.hazelcast.HazelcastCPSemaphoreNamedLockFactory
- All Implemented Interfaces:
NamedLockFactory
@Singleton
@Named("semaphore-hazelcast")
public class HazelcastCPSemaphoreNamedLockFactory
extends HazelcastSemaphoreNamedLockFactory
HazelcastSemaphoreNamedLockFactory
using DirectHazelcastSemaphoreProvider
full Hazelcast member.-
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, SYSTEM_PROP_DIAGNOSTIC_ENABLED
-
Constructor Summary
ConstructorDescriptionThe default constructor: creates own instance of Hazelcast using standard Hazelcast configuration discovery.HazelcastCPSemaphoreNamedLockFactory
(com.hazelcast.core.HazelcastInstance hazelcastInstance, boolean manageHazelcast) Constructor for customization. -
Method Summary
Methods inherited from class org.eclipse.aether.named.hazelcast.HazelcastSemaphoreNamedLockFactory
createLock, destroyLock, doShutdown
Methods inherited from class org.eclipse.aether.named.support.NamedLockFactorySupport
closeLock, doGetLock, getLock, getLockAndRefTrack, isDiagnosticEnabled, onFailure, shutdown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.aether.named.NamedLockFactory
getLock
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
HazelcastCPSemaphoreNamedLockFactory
The default constructor: creates own instance of Hazelcast using standard Hazelcast configuration discovery. -
HazelcastCPSemaphoreNamedLockFactory
public HazelcastCPSemaphoreNamedLockFactory(com.hazelcast.core.HazelcastInstance hazelcastInstance, boolean manageHazelcast) Constructor for customization.
-