JavaScript is disabled on your browser.
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
C
E
G
H
I
N
O
P
R
S
T
U
V
A
ALL_VISIBLE_LATEST
- Static variable in class co.cask.tephra.
Transaction
C
co.cask.tephra
- package co.cask.tephra
commitTx()
- Method in interface co.cask.tephra.
TransactionAware
Called before transaction has been committed.
E
excludesSize()
- Method in class co.cask.tephra.
Transaction
G
getCheckpointWritePointers()
- Method in class co.cask.tephra.
Transaction
Returns any prior write pointers used in the current transaction.
getFirstInProgress()
- Method in class co.cask.tephra.
Transaction
getFirstShortInProgress()
- Method in class co.cask.tephra.
Transaction
getInProgress()
- Method in class co.cask.tephra.
Transaction
getInvalids()
- Method in class co.cask.tephra.
Transaction
getReadPointer()
- Method in class co.cask.tephra.
Transaction
getTransactionAwareName()
- Method in interface co.cask.tephra.
TransactionAware
Used for error reporting.
getTransactionId()
- Method in class co.cask.tephra.
Transaction
Returns the initial write pointer assigned to the transaction.
getTxChanges()
- Method in interface co.cask.tephra.
TransactionAware
getType()
- Method in class co.cask.tephra.
Transaction
getVisibilityLevel()
- Method in class co.cask.tephra.
Transaction
Returns the currently set visibility level.
getVisibilityUpperBound()
- Method in class co.cask.tephra.
Transaction
getWritePointer()
- Method in class co.cask.tephra.
Transaction
Returns the write pointer to be used in persisting any changes.
H
hasExcludes()
- Method in class co.cask.tephra.
Transaction
I
isCheckpoint(long)
- Method in class co.cask.tephra.
Transaction
Returns true if the the given version corresponds to one of the checkpoint versions in the current transaction.
isExcluded(long)
- Method in class co.cask.tephra.
Transaction
Returns true if the given version is present in one of the arrays of excluded versions (in-progress and invalid transactions).
isInProgress(long)
- Method in class co.cask.tephra.
Transaction
Returns true if the given version corresponds to a transaction that was in-progress at the time this transaction started.
isVisible(long)
- Method in class co.cask.tephra.
Transaction
Returns whether or not the given version should be visible to the current transaction.
N
NO_TX_IN_PROGRESS
- Static variable in class co.cask.tephra.
Transaction
O
of(Collection<TransactionAware>)
- Static method in class co.cask.tephra.
TransactionAwares
Create composite transaction aware object that delegates transaction logic to given collection of
TransactionAware
s
P
postTxCommit()
- Method in interface co.cask.tephra.
TransactionAware
Called after transaction has been committed.
R
rollbackTx()
- Method in interface co.cask.tephra.
TransactionAware
Called during transaction rollback (for whatever reason: conflicts, errors, etc.).
S
setVisibility(Transaction.VisibilityLevel)
- Method in class co.cask.tephra.
Transaction
Sets the visibility level for read operations.
startTx(Transaction)
- Method in interface co.cask.tephra.
TransactionAware
Called when new transaction has started.
T
toString()
- Method in class co.cask.tephra.
Transaction
Transaction
- Class in
co.cask.tephra
Transaction details
Transaction(long, long, long[], long[], long)
- Constructor for class co.cask.tephra.
Transaction
Creates a new short transaction.
Transaction(long, long, long[], long[], long, TransactionType)
- Constructor for class co.cask.tephra.
Transaction
Creates a new transaction.
Transaction(long, long, long, long[], long[], long, TransactionType, long[], Transaction.VisibilityLevel)
- Constructor for class co.cask.tephra.
Transaction
Creates a new transaction.
Transaction(Transaction, long, long[])
- Constructor for class co.cask.tephra.
Transaction
Creates a new transaction for a checkpoint operation, copying all members from the original transaction, with the updated checkpoint write pointers.
Transaction.VisibilityLevel
- Enum in
co.cask.tephra
Defines the possible visibility levels for read operations.
TransactionAware
- Interface in
co.cask.tephra
Interface to be implemented by a component that interacts with transaction logic.
TransactionAwares
- Class in
co.cask.tephra
Utility class that provides handy methods for working with
TransactionAware
classes and their instances.
TransactionType
- Enum in
co.cask.tephra
Type of transaction.
U
updateTx(Transaction)
- Method in interface co.cask.tephra.
TransactionAware
Called when the state of the current transaction has been updated.
V
valueOf(String)
- Static method in enum co.cask.tephra.
Transaction.VisibilityLevel
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum co.cask.tephra.
TransactionType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum co.cask.tephra.
Transaction.VisibilityLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum co.cask.tephra.
TransactionType
Returns an array containing the constants of this enum type, in the order they are declared.
A
C
E
G
H
I
N
O
P
R
S
T
U
V
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2015. All Rights Reserved.