public class BasicLockOperations extends Object implements LockOperations
LockOperations.LockType| Constructor and Description |
|---|
BasicLockOperations(AerospikeOperations aerospikeOperations) |
public BasicLockOperations(AerospikeOperations aerospikeOperations)
public Set<com.aerospike.client.Key> acquireLocks(com.aerospike.client.Value transactionId, Map<String,Map<com.aerospike.client.Value,Map<com.aerospike.client.Value,com.aerospike.client.Value>>> locksByStore, boolean checkTransactionId, Consumer<Collection<com.aerospike.client.Key>> onErrorCleanup) throws org.janusgraph.diskstorage.BackendException
acquireLocks in interface LockOperationsorg.janusgraph.diskstorage.BackendExceptionpublic List<com.aerospike.client.Key> filterKeysLockedByTransaction(Map<String,Map<com.aerospike.client.Value,Map<com.aerospike.client.Value,com.aerospike.client.Value>>> locksByStore, com.aerospike.client.Value transactionId)
filterKeysLockedByTransaction in interface LockOperationspublic List<com.aerospike.client.Key> filterKeysLockedByTransaction(Collection<com.aerospike.client.Key> keys, com.aerospike.client.Value transactionId)
filterKeysLockedByTransaction in interface LockOperationspublic void releaseLocks(Collection<com.aerospike.client.Key> keys, com.aerospike.client.Value transactionId)
releaseLocks in interface LockOperationsprotected void checkExpectedValues(Map<String,Map<com.aerospike.client.Value,Map<com.aerospike.client.Value,com.aerospike.client.Value>>> locksByStore, Map<com.aerospike.client.Key,LockOperations.LockType> keysLocked) throws org.janusgraph.diskstorage.PermanentBackendException
org.janusgraph.diskstorage.PermanentBackendExceptionCopyright © 2020. All rights reserved.