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:
org.eclipse.aether.named.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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
     

    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

    Constructors
    Constructor
    Description
    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 (the hazelcast.client.config system property, or a hazelcast-client.xml/ hazelcast-client.yaml/hazelcast-client.yml file 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 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

  • 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 (the hazelcast.client.config system property, or a hazelcast-client.xml/ hazelcast-client.yaml/hazelcast-client.yml file 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.