Class HazelcastCPSemaphoreNamedLockFactory

All Implemented Interfaces:
NamedLockFactory

@Deprecated @Singleton @Named("semaphore-hazelcast") public class HazelcastCPSemaphoreNamedLockFactory extends HazelcastSemaphoreNamedLockFactory
Deprecated.
Hazelcast support will be dropped.
  • Field Details

  • Constructor Details

    • HazelcastCPSemaphoreNamedLockFactory

      Deprecated.
      The default constructor: creates own instance of Hazelcast using standard Hazelcast configuration discovery, but refuses to run on Hazelcast built-in defaults: an explicit operator-provided configuration (the hazelcast.config system property, or a hazelcast.xml/hazelcast.yaml/ hazelcast.yml file on the classpath or in the working directory) is required, as the built-in defaults form an unauthenticated cluster any network peer may join and manipulate lock state through.
    • HazelcastCPSemaphoreNamedLockFactory

      public HazelcastCPSemaphoreNamedLockFactory(com.hazelcast.core.HazelcastInstance hazelcastInstance, boolean manageHazelcast)
      Deprecated.
      Constructor for customization.