java.lang.Object
com.playtika.janusgraph.aerospike.operations.batch.BatchLocks
All Implemented Interfaces:
nosql.batch.update.aerospike.lock.AerospikeBatchLocks<Map<com.aerospike.client.Key,ExpectedValue>>

public class BatchLocks extends Object implements nosql.batch.update.aerospike.lock.AerospikeBatchLocks<Map<com.aerospike.client.Key,ExpectedValue>>
  • Constructor Details

    • BatchLocks

      public BatchLocks(Map<String,Map<com.aerospike.client.Value,Map<com.aerospike.client.Value,com.aerospike.client.Value>>> locksByStore, AerospikeOperations aerospikeOperations)
  • Method Details

    • keysToLock

      public List<com.aerospike.client.Key> keysToLock()
      Specified by:
      keysToLock in interface nosql.batch.update.aerospike.lock.AerospikeBatchLocks<Map<com.aerospike.client.Key,ExpectedValue>>
    • expectedValues

      public Map<com.aerospike.client.Key,ExpectedValue> expectedValues()
      Specified by:
      expectedValues in interface nosql.batch.update.aerospike.lock.AerospikeBatchLocks<Map<com.aerospike.client.Key,ExpectedValue>>
    • getLocksByStore

      public Map<String,Map<com.aerospike.client.Value,Map<com.aerospike.client.Value,com.aerospike.client.Value>>> getLocksByStore()