public class OHazelcastLockManager extends Object implements ODistributedLockManager
Constructor and Description |
---|
OHazelcastLockManager(com.hazelcast.core.HazelcastInstance hazelcast) |
Modifier and Type | Method and Description |
---|---|
void |
acquireExclusiveLock(String resource,
String nodeSource,
long timeout) |
void |
handleUnreachableServer(String nodeLeftName) |
void |
releaseExclusiveLock(String resource,
String nodeSource) |
void |
shutdown() |
public OHazelcastLockManager(com.hazelcast.core.HazelcastInstance hazelcast)
public void acquireExclusiveLock(String resource, String nodeSource, long timeout)
acquireExclusiveLock
in interface ODistributedLockManager
public void releaseExclusiveLock(String resource, String nodeSource)
releaseExclusiveLock
in interface ODistributedLockManager
public void handleUnreachableServer(String nodeLeftName)
handleUnreachableServer
in interface ODistributedLockManager
public void shutdown()
shutdown
in interface ODistributedLockManager
Copyright © 2009–2020 OrientDB. All rights reserved.