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
@Deprecated
@Singleton
@Named("semaphore-hazelcast-client")
public class HazelcastClientCPSemaphoreNamedLockFactory
extends HazelcastSemaphoreNamedLockFactory
Deprecated.
Hazelcast support will be dropped.
HazelcastSemaphoreNamedLockFactory using DirectHazelcastSemaphoreProvider and Hazelcast client. The
client must be configured to connect to some existing cluster (w/ proper configuration applied).-
Field Summary
FieldsFields inherited from class HazelcastSemaphoreNamedLockFactory
hazelcastInstance, manageHazelcastFields inherited from class NamedLockFactorySupport
logger, SYSTEM_PROP_DIAGNOSTIC_ENABLED -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.The default constructor: creates own instance of Hazelcast client using standard Hazelcast configuration discovery, but refuses to run on Hazelcast built-in defaults: an explicit operator-provided configuration (thehazelcast.client.configsystem property, or ahazelcast-client.xml/hazelcast-client.yaml/hazelcast-client.ymlfile on the classpath or in the working directory) is required, as the built-in defaults connect to an unauthenticated default-named cluster.HazelcastClientCPSemaphoreNamedLockFactory(com.hazelcast.core.HazelcastInstance hazelcastInstance, boolean manageHazelcast) Deprecated.Constructor for customization. -
Method Summary
Methods inherited from class HazelcastSemaphoreNamedLockFactory
createLock, destroyLock, doShutdownMethods inherited from class NamedLockFactorySupport
closeLock, doGetLock, getLock, getLockAndRefTrack, isDiagnosticEnabled, onFailure, shutdownMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedLockFactory
getLock
-
Field Details
-
NAME
-
-
Constructor Details
-
HazelcastClientCPSemaphoreNamedLockFactory
Deprecated.The default constructor: creates own instance of Hazelcast client using standard Hazelcast configuration discovery, but refuses to run on Hazelcast built-in defaults: an explicit operator-provided configuration (thehazelcast.client.configsystem property, or ahazelcast-client.xml/hazelcast-client.yaml/hazelcast-client.ymlfile on the classpath or in the working directory) is required, as the built-in defaults connect to an unauthenticated default-named cluster. -
HazelcastClientCPSemaphoreNamedLockFactory
public HazelcastClientCPSemaphoreNamedLockFactory(com.hazelcast.core.HazelcastInstance hazelcastInstance, boolean manageHazelcast) Deprecated.Constructor for customization.
-