A B C D E G H I L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACQUIRE_LOCK_THAT_DOESNT_EXIST_PK_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- ACQUIRE_LOCK_THAT_DOESNT_EXIST_PK_SK_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- acquireLock(AcquireLockOptions) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Attempts to acquire a lock until it either acquires the lock, or a specified
additionalTimeToWaitForLockis reached. - AcquireLockOptions - Class in com.amazonaws.services.dynamodbv2
-
Provides options for acquiring a lock when calling the acquireLock() method.
- AcquireLockOptions.AcquireLockOptionsBuilder - Class in com.amazonaws.services.dynamodbv2
-
A builder for setting up an AcquireLockOptions object.
- AmazonDynamoDBLockClient - Class in com.amazonaws.services.dynamodbv2
-
Provides a simple library for using DynamoDB's consistent read/write feature to use it for managing distributed locks.
- AmazonDynamoDBLockClient(AmazonDynamoDBLockClientOptions) - Constructor for class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Initializes an AmazonDynamoDBLockClient using the lock client options specified in the AmazonDynamoDBLockClientOptions object.
- AmazonDynamoDBLockClientOptions - Class in com.amazonaws.services.dynamodbv2
-
An options class for setting up a lock client with various overrides to the defaults.
- AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder - Class in com.amazonaws.services.dynamodbv2
-
A builder for setting up an AmazonDynamoDBLockClientOptions object.
- amIAboutToExpire() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns whether or not the lock is entering the "danger zone" time period.
- assertLockTableExists() - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Asserts that the lock table exists in DynamoDB.
B
- build() - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
- build() - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
-
Builds an AmazonDynamoDBLockClientOptions.
- build() - Method in class com.amazonaws.services.dynamodbv2.CreateDynamoDBTableOptions.CreateDynamoDBTableOptionsBuilder
- build() - Method in class com.amazonaws.services.dynamodbv2.GetLockOptions.GetLockOptionsBuilder
- build() - Method in class com.amazonaws.services.dynamodbv2.ReleaseLockOptions.ReleaseLockOptionsBuilder
- build() - Method in class com.amazonaws.services.dynamodbv2.SendHeartbeatOptions.SendHeartbeatOptionsBuilder
- builder(LockItem) - Static method in class com.amazonaws.services.dynamodbv2.ReleaseLockOptions
-
Creates a builder for the ReleaseLockOptions object.
- builder(LockItem) - Static method in class com.amazonaws.services.dynamodbv2.SendHeartbeatOptions
-
Creates a SendHeartbeatOptionsBuilder, which can be used for setting options for the sendHeartbeat() method in the lock client.
- builder(String) - Static method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions
-
Creates a new version of AcquireLockOptionsBuilder using the only required parameter, which is a specific partition key.
- builder(String) - Static method in class com.amazonaws.services.dynamodbv2.GetLockOptions
-
Creates a GetLockOptionsBuilder, which lets the caller specify arguments to getLock().
- builder(DynamoDbClient, String) - Static method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions
-
Creates an AmazonDynamoDBLockClientOptions builder object, which can be used to create an AmazonDynamoDBLockClient.
- builder(DynamoDbClient, ProvisionedThroughput, String) - Static method in class com.amazonaws.services.dynamodbv2.CreateDynamoDBTableOptions
-
Creates a builder for a CreateDynamoDBTableOptions object.
C
- close() - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Releases all of the locks by calling releaseAllLocks()
- close() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Releases the lock for others to use.
- com.amazonaws.services.dynamodbv2 - package com.amazonaws.services.dynamodbv2
- com.amazonaws.services.dynamodbv2.model - package com.amazonaws.services.dynamodbv2.model
- com.amazonaws.services.dynamodbv2.util - package com.amazonaws.services.dynamodbv2.util
- CreateDynamoDBTableOptions - Class in com.amazonaws.services.dynamodbv2
-
An options class for the createDynamoDBTable method in the lock client.
- CreateDynamoDBTableOptions.CreateDynamoDBTableOptionsBuilder - Class in com.amazonaws.services.dynamodbv2
- createLockTableInDynamoDB(CreateDynamoDBTableOptions) - Static method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Creates a DynamoDB table with the right schema for it to be used by this locking library.
- currentPageResults - Variable in class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
- currentPageResultsIndex - Variable in class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
D
- DATA - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- DATA_PATH_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- DATA_VALUE_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- DEFAULT_CREATE_HEARTBEAT_BACKGROUND_THREAD - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions
- DEFAULT_HEARTBEAT_PERIOD - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions
- DEFAULT_HOLD_LOCK_ON_SERVICE_UNAVAILABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions
- DEFAULT_LEASE_DURATION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions
- DEFAULT_MAX_LOCK_OBSERVATION_CACHE_SIZE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions
- DEFAULT_PARTITION_KEY_NAME - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions
- DEFAULT_TIME_UNIT - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions
- dynamoDB - Variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
E
- ensure(long, TimeUnit) - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Ensures that this owner has the lock for a specified period of time.
- equals(Object) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions
- equals(Object) - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns if two locks have the same (key, sortKey, ownerName)
G
- 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.
H
- hasAnotherPageToLoad() - Method in class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
- hashCode() - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions
- hashCode() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Hash code of just the (key, sortKey, ownerName) as that is what uniquely identifies this lock.
- hasLoadedFirstPage() - Method in class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
- hasLock(String, Optional<String>) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Returns true if the client currently owns the lock with @param key and @param sortKey.
- hasNext() - Method in class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
I
- INSTANCE - com.amazonaws.services.dynamodbv2.util.LockClientUtils
- IS_RELEASED - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- IS_RELEASED_ATTRIBUTE_VALUE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- IS_RELEASED_INDICATOR - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- IS_RELEASED_PATH_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- IS_RELEASED_VALUE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- IS_RELEASED_VALUE_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- isExpired() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns whether or not the lock is expired, based on the lease duration and when the last heartbeat was sent.
L
- LEASE_DURATION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- LEASE_DURATION_PATH_VALUE_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- LEASE_DURATION_VALUE_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- loadNextPageIntoResults() - Method in class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
- lockClientId - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- LockClientUtils - Enum in com.amazonaws.services.dynamodbv2.util
-
A class containing static utility functions.
- LockCurrentlyUnavailableException - Exception in com.amazonaws.services.dynamodbv2.model
-
This is a retry-able exception, that indicates that the lock being requested has already been held by another worker and has not been released yet and the lease duration has not expired since the lock was last updated by the current owner.
- LockCurrentlyUnavailableException() - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockCurrentlyUnavailableException
- LockCurrentlyUnavailableException(String) - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockCurrentlyUnavailableException
- LockCurrentlyUnavailableException(String, Throwable) - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockCurrentlyUnavailableException
- LockCurrentlyUnavailableException(String, Throwable, boolean, boolean) - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockCurrentlyUnavailableException
- LockCurrentlyUnavailableException(Throwable) - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockCurrentlyUnavailableException
- LockItem - Class in com.amazonaws.services.dynamodbv2
-
A lock that has been successfully acquired.
- LockItemPaginatedIterator - Class in com.amazonaws.services.dynamodbv2
-
Paginated iterator for lock items.
- LockItemPaginatedIterator() - Constructor for class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
- LockNotGrantedException - Exception in com.amazonaws.services.dynamodbv2.model
-
Thrown to indicate that a caller was not granted a lock that it requested.
- LockNotGrantedException() - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockNotGrantedException
- LockNotGrantedException(String) - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockNotGrantedException
- LockNotGrantedException(String, Throwable) - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockNotGrantedException
- LockTableDoesNotExistException - Exception in com.amazonaws.services.dynamodbv2.model
-
Exception indicating that the lock table doesn't exist.
- LockTableDoesNotExistException(String) - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockTableDoesNotExistException
- LockTableDoesNotExistException(String, Throwable) - Constructor for exception com.amazonaws.services.dynamodbv2.model.LockTableDoesNotExistException
- lockTableExists() - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Checks whether the lock table exists in DynamoDB.
M
- millisecondTime() - Method in enum com.amazonaws.services.dynamodbv2.util.LockClientUtils
-
Calls System.nanoTime() and converts it to milliseconds.
N
- NEW_RVN_VALUE_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- next() - Method in class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
O
- OWNER_NAME - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- OWNER_NAME_PATH_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- OWNER_NAME_VALUE_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
P
- PK_EXISTS_AND_IS_RELEASED_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_EXISTS_AND_OWNER_NAME_SAME_AND_RVN_SAME_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_EXISTS_AND_RVN_IS_THE_SAME_AND_IS_RELEASED_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_EXISTS_AND_RVN_IS_THE_SAME_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_EXISTS_AND_SK_EXISTS_AND_IS_RELEASED_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_EXISTS_AND_SK_EXISTS_AND_OWNER_NAME_SAME_AND_RVN_SAME_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_EXISTS_AND_SK_EXISTS_AND_RVN_IS_THE_SAME_AND_IS_RELEASED_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_EXISTS_AND_SK_EXISTS_AND_RVN_IS_THE_SAME_CONDITION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_PATH_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- PK_VALUE_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
Q
- QUERY_PK_EXPRESSION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
R
- RECORD_VERSION_NUMBER - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- releaseLock(LockItem) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
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.
- releaseLock(ReleaseLockOptions) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- ReleaseLockOptions - Class in com.amazonaws.services.dynamodbv2
-
Provides options for releasing a lock when calling the releaseLock() method.
- ReleaseLockOptions.ReleaseLockOptionsBuilder - Class in com.amazonaws.services.dynamodbv2
- remove() - Method in class com.amazonaws.services.dynamodbv2.LockItemPaginatedIterator
- REMOVE_IS_RELEASED_UPDATE_EXPRESSION - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- run() - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Loops forever, sending hearbeats for all the locks this thread needs to keep track of.
- RVN_PATH_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- RVN_VALUE_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
S
- sendHeartbeat(LockItem) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Sends a heartbeat to indicate that the given lock is still being worked on.
- sendHeartbeat(SendHeartbeatOptions) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Sends a heartbeat to indicate that the given lock is still being worked on.
- sendHeartBeat() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Sends a heartbeat to indicate that the given lock is still being worked on.
- SendHeartbeatOptions - Class in com.amazonaws.services.dynamodbv2
-
A simple bean for sending lock heartbeats or updating the lock data with various combinations of overrides of the default behavior.
- SendHeartbeatOptions.SendHeartbeatOptionsBuilder - Class in com.amazonaws.services.dynamodbv2
- SessionMonitorNotSetException - Exception in com.amazonaws.services.dynamodbv2.model
-
Thrown to indicate that SessionMonitor is not set.
- SessionMonitorNotSetException(String) - Constructor for exception com.amazonaws.services.dynamodbv2.model.SessionMonitorNotSetException
-
Basic constructor.
- SessionMonitorNotSetException(String, Throwable) - Constructor for exception com.amazonaws.services.dynamodbv2.model.SessionMonitorNotSetException
-
Full constructor.
- shouldSkipBlockingWait() - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions
- SK_PATH_EXPRESSION_VARIABLE - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
T
- tableName - Variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- toString() - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
- toString() - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
- toString() - Method in class com.amazonaws.services.dynamodbv2.CreateDynamoDBTableOptions.CreateDynamoDBTableOptionsBuilder
- toString() - Method in class com.amazonaws.services.dynamodbv2.GetLockOptions.GetLockOptionsBuilder
- toString() - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Returns a string representation of this lock.
- toString() - Method in class com.amazonaws.services.dynamodbv2.ReleaseLockOptions.ReleaseLockOptionsBuilder
- toString() - Method in class com.amazonaws.services.dynamodbv2.SendHeartbeatOptions.SendHeartbeatOptionsBuilder
- tryAcquireLock(AcquireLockOptions) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
-
Attempts to acquire lock.
U
- UPDATE_IS_RELEASED - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- UPDATE_IS_RELEASED_AND_DATA - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- UPDATE_LEASE_DURATION_AND_RVN - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- UPDATE_LEASE_DURATION_AND_RVN_AND_DATA - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- UPDATE_LEASE_DURATION_AND_RVN_AND_REMOVE_DATA - Static variable in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClient
- updateLookUpTime(long) - Method in class com.amazonaws.services.dynamodbv2.LockItem
-
Updates the last updated time of the lock.
V
- valueOf(String) - Static method in enum com.amazonaws.services.dynamodbv2.util.LockClientUtils
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.amazonaws.services.dynamodbv2.util.LockClientUtils
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- 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
AmazonClientExceptionwhen 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.GetLockOptions.GetLockOptionsBuilder
- withDeleteLockOnRelease(Boolean) - Method in class com.amazonaws.services.dynamodbv2.AcquireLockOptions.AcquireLockOptionsBuilder
- 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
- withMaxLockObservationCacheSize(Integer) - Method in class com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder
- 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.
All Classes All Packages