- getAdditionalAttributes() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns the additional attributes that can optionally be stored alongside the lock.
- getAllLocksFromDynamoDB(boolean) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Retrieves all the lock items from DynamoDB.
- getData() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
- getDeleteLockItemOnClose() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns a boolean indicating whether the lock should be deleted from DynamoDB after release.
- getLeaseDuration() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns the amount of time that the client has this lock for, which can be kept up to date by calling
sendHeartbeat.
- getLock(String, Optional<String>) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Finds out who owns the given lock, but does not acquire the lock.
- getLockFromDynamoDB(GetLockOptions) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Retrieves the lock item from DynamoDB.
- GetLockOptions - Class in com.amazonaws.services.dynamodbv2
-
Provides options for getting a lock when calling the getLock() method.
- GetLockOptions.GetLockOptionsBuilder - Class in com.amazonaws.services.dynamodbv2
-
- getLocksByPartitionKey(String, boolean) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Retrieves the locks with partition_key = key.
- getLookupTime() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns the last time this lock was updated.
- getOwnerName() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns the name of the owner that owns this lock.
- getPartitionKey() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns the key associated with this lock, which is unique for every lock (unless the lock has a sort key, in which case
key + sortKey is unique.)
- getRecordVersionNumber() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns the current record version number of the lock in DynamoDB.
- getSortKey() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns the sort key associated with the lock, if there is one.
- withAcquireOnlyIfLockAlreadyExists(Boolean) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
Sets whether or not to allow acquiring locks if the lock does not exist already
- withAcquireReleasedLocksConsistently(boolean) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
With this being true, the lock client will ensure that released locks are acquired consistently in order to preserve existing
lock data in dynamodb.
- withAdditionalAttributes(Map<String, AttributeValue>) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
Stores some additional attributes with each lock.
- withAdditionalTimeToWaitForLock(Long) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
- withBestEffort(boolean) - Method in class com.amazonaws.services.dynamodbv2.ReleaseLockOptions.ReleaseLockOptionsBuilder
-
Whether or not to ignore AmazonClientException when releasing the
lock.
- withCreateHeartbeatBackgroundThread(Boolean) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
- withData(ByteBuffer) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
Sets data to be stored alongside the lock
- withData(ByteBuffer) - Method in class com.amazonaws.services.dynamodbv2.ReleaseLockOptions.ReleaseLockOptionsBuilder
-
New data to persist to the lock (only used if deleteLock=false.) If the
data is null, then the lock client will keep the data as-is and not
change it.
- withData(ByteBuffer) - Method in class com.amazonaws.services.dynamodbv2.SendHeartbeatOptions.SendHeartbeatOptionsBuilder
-
- withDeleteData(Boolean) - Method in class com.amazonaws.services.dynamodbv2.SendHeartbeatOptions.SendHeartbeatOptionsBuilder
-
- withDeleteLock(boolean) - Method in class com.amazonaws.services.dynamodbv2.ReleaseLockOptions.ReleaseLockOptionsBuilder
-
Whether or not to delete the lock when releasing it.
- withDeleteLockOnRelease(Boolean) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
- withDeleteLockOnRelease(boolean) - Method in class com.amazonaws.services.dynamodbv2.GetLockOptions.GetLockOptionsBuilder
-
- withHeartbeatPeriod(Long) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
- withHoldLockOnServiceUnavailable(Boolean) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
This parameter should be set to true only in the applications which do not have strict locking requirements.
- withLeaseDuration(Long) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
- withLeaseDurationToEnsure(Long) - Method in class com.amazonaws.services.dynamodbv2.SendHeartbeatOptions.SendHeartbeatOptionsBuilder
-
- withOwnerName(String) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
- withPartitionKeyName(String) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
- withPartitionKeyName(String) - Method in class com.amazonaws.services.dynamodbv2.CreateDynamoDBTableOptions.CreateDynamoDBTableOptionsBuilder
-
- withReentrant(boolean) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
With this set to true, the lock client will check first if it already owns the lock.
- withRefreshPeriod(Long) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
- withReplaceData(Boolean) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
Sets whether or not to replace any existing lock data with the data
parameter.
- withSessionMonitor(long, Optional<Runnable>) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
Registers a "SessionMonitor."
- withShouldSkipBlockingWait(boolean) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
With this being true, the lock client will not block the running thread and wait for lock, rather will fast fail the request,
so that the caller can either choose to back-off and process the same request or start processing a new request.
- withSortKey(String) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
- withSortKey(String) - Method in class com.amazonaws.services.dynamodbv2.GetLockOptions.GetLockOptionsBuilder
-
- withSortKeyName(String) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
- withSortKeyName(String) - Method in class com.amazonaws.services.dynamodbv2.CreateDynamoDBTableOptions.CreateDynamoDBTableOptionsBuilder
-
- withTimeUnit(TimeUnit) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
- withTimeUnit(TimeUnit) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
- withTimeUnit(TimeUnit) - Method in class com.amazonaws.services.dynamodbv2.SendHeartbeatOptions.SendHeartbeatOptionsBuilder
-
- withUpdateExistingLockRecord(Boolean) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
-
With this being true lock client will only update the current lock record if present otherwise create a new one.