Uses of Class
com.amazonaws.services.dynamodbv2.LockItem
-
Packages that use LockItem Package Description com.amazonaws.services.dynamodbv2 -
-
Uses of LockItem in com.amazonaws.services.dynamodbv2
Fields in com.amazonaws.services.dynamodbv2 with type parameters of type LockItem Modifier and Type Field Description protected List<LockItem>LockItemPaginatedIterator. currentPageResultsMethods in com.amazonaws.services.dynamodbv2 that return LockItem Modifier and Type Method Description LockItemAmazonDynamoDBLockClient. acquireLock(AcquireLockOptions options)Attempts to acquire a lock until it either acquires the lock, or a specifiedadditionalTimeToWaitForLockis reached.LockItemLockItemPaginatedIterator. next()Methods in com.amazonaws.services.dynamodbv2 that return types with arguments of type LockItem Modifier and Type Method Description Stream<LockItem>AmazonDynamoDBLockClient. getAllLocksFromDynamoDB(boolean deleteOnRelease)Retrieves all the lock items from DynamoDB.Optional<LockItem>AmazonDynamoDBLockClient. getLock(String key, Optional<String> sortKey)Finds out who owns the given lock, but does not acquire the lock.Optional<LockItem>AmazonDynamoDBLockClient. getLockFromDynamoDB(GetLockOptions options)Retrieves the lock item from DynamoDB.Stream<LockItem>AmazonDynamoDBLockClient. getLocksByPartitionKey(String key, boolean deleteOnRelease)Retrieves the locks with partition_key =key.Optional<LockItem>AmazonDynamoDBLockClient. tryAcquireLock(AcquireLockOptions options)Attempts to acquire lock.Methods in com.amazonaws.services.dynamodbv2 with parameters of type LockItem Modifier and Type Method Description static ReleaseLockOptions.ReleaseLockOptionsBuilderReleaseLockOptions. builder(LockItem lockItem)Creates a builder for the ReleaseLockOptions object.static SendHeartbeatOptions.SendHeartbeatOptionsBuilderSendHeartbeatOptions. builder(LockItem lockItem)Creates a SendHeartbeatOptionsBuilder, which can be used for setting options for the sendHeartbeat() method in the lock client.booleanAmazonDynamoDBLockClient. releaseLock(LockItem lockItem)Releases the given lock if the current user still has it, returning true if the lock was successfully released, and false if someone else already stole the lock.voidAmazonDynamoDBLockClient. sendHeartbeat(LockItem lockItem)Sends a heartbeat to indicate that the given lock is still being worked on.
-