java.lang.Object | |
↳ | com.netflix.astyanax.recipes.uniqueness.DedicatedMultiRowUniquenessConstraint<C> |
Multi-row uniqueness constraint where all involved column families are dedicated only to uniquness constraint.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Acquire the row(s) for uniqueness.
| |||||||||||
Acquire the uniqueness constraint and apply the final mutation if the
row if found to be unique
| |||||||||||
@return
| |||||||||||
Release the uniqueness lock for this row.
| |||||||||||
Consistency level used
| |||||||||||
Add a row to the set of rows being tested for uniqueness
| |||||||||||
TTL to use for the uniquness operation.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.netflix.astyanax.recipes.uniqueness.UniquenessConstraint
|
Acquire the row(s) for uniqueness. Call release() when the uniqueness on the row(s) is no longer needed, such as when deleting the rows.
Exception | |
---|---|
NotUniqueException |
Acquire the uniqueness constraint and apply the final mutation if the row if found to be unique
Exception | |
---|---|
NotUniqueException |
Release the uniqueness lock for this row. Only call this when you no longer need the uniqueness lock
Exception |
---|
Consistency level used
Add a row to the set of rows being tested for uniqueness
TTL to use for the uniquness operation. This is the TTL for the columns to expire in the event of a client crash before the uniqueness can be committed