Class HazelcastSemaphoreNamedLockFactory

java.lang.Object
org.eclipse.aether.named.support.NamedLockFactorySupport
org.eclipse.aether.named.hazelcast.HazelcastSemaphoreNamedLockFactory
All Implemented Interfaces:
NamedLockFactory
Direct Known Subclasses:
HazelcastClientCPSemaphoreNamedLockFactory, HazelcastCPSemaphoreNamedLockFactory

Factory of AdaptedSemaphoreNamedLock instances, using adapted Hazelcast ISemaphore. It delegates most the work to HazelcastSemaphoreProvider and this class just adapts the returned semaphore to named lock and caches ISemaphore instances, as recommended by Hazelcast.