@Singleton @Named(value="semaphore-hazelcast") public class HazelcastCPSemaphoreNamedLockFactory extends HazelcastSemaphoreNamedLockFactory
HazelcastSemaphoreNamedLockFactory using Hazelcast and HazelcastInstance.getCPSubsystem() method to get CP semaphore. For this to work, the Hazelcast
cluster the client is connecting to must be CP enabled cluster.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
NAME_PREFIXlogger| Constructor and Description |
|---|
HazelcastCPSemaphoreNamedLockFactory() |
createLock, destroyLock, shutdowncloseLock, finalize, getLockpublic static final String NAME
@Inject public HazelcastCPSemaphoreNamedLockFactory()
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.