Class HazelcastSemaphoreProvider
java.lang.Object
org.eclipse.aether.named.hazelcast.HazelcastSemaphoreProvider
- Direct Known Subclasses:
 DirectHazelcastSemaphoreProvider
Deprecated.
Hazelcast support will be dropped.
Support class for providers of 
ISemaphore instances.- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringDeprecated.Name prefix recommended using for simpler configuration of Hazelcast. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract com.hazelcast.cp.ISemaphoreacquireSemaphore(com.hazelcast.core.HazelcastInstance hazelcastInstance, NamedLockKey key) Deprecated.Invoked when new instance of semaphore needed for given key.abstract voidreleaseSemaphore(com.hazelcast.core.HazelcastInstance hazelcastInstance, NamedLockKey key, com.hazelcast.cp.ISemaphore semaphore) Deprecated.Invoked when passed in semaphore associated with passed in key is not to be used anymore. 
- 
Field Details
- 
NAME_PREFIX
Deprecated.Name prefix recommended using for simpler configuration of Hazelcast.- See Also:
 
 
 - 
 - 
Constructor Details
- 
HazelcastSemaphoreProvider
public HazelcastSemaphoreProvider()Deprecated. 
 - 
 - 
Method Details
- 
acquireSemaphore
public abstract com.hazelcast.cp.ISemaphore acquireSemaphore(com.hazelcast.core.HazelcastInstance hazelcastInstance, NamedLockKey key) Deprecated.Invoked when new instance of semaphore needed for given key. must not returnnull. - 
releaseSemaphore
public abstract void releaseSemaphore(com.hazelcast.core.HazelcastInstance hazelcastInstance, NamedLockKey key, com.hazelcast.cp.ISemaphore semaphore) Deprecated.Invoked when passed in semaphore associated with passed in key is not to be used anymore. 
 -