Package | Description |
---|---|
org.axonframework.common.lock |
Modifier and Type | Method and Description |
---|---|
PessimisticLockFactory.Builder |
PessimisticLockFactory.Builder.acquireAttempts(int acquireAttempts)
Indicates how many attempts should be done to acquire a lock.
|
static PessimisticLockFactory.Builder |
PessimisticLockFactory.builder()
Creates a builder to construct an instance of this LockFactory.
|
PessimisticLockFactory.Builder |
PessimisticLockFactory.Builder.lockAttemptTimeout(int lockAttemptTimeout)
The duration of a single attempt to acquire the internal lock.
|
PessimisticLockFactory.Builder |
PessimisticLockFactory.Builder.queueLengthThreshold(int maximumQueued)
Defines the maximum number of queued threads to allow for this lock.
|
Constructor and Description |
---|
PessimisticLockFactory(PessimisticLockFactory.Builder builder)
Creates an instance of the lock factory using the given
builder containing the configuration properties
to use. |
Copyright © 2010–2024. All rights reserved.