A C E G H I N O P R S T U V 

A

ALL_VISIBLE_LATEST - Static variable in class org.apache.tephra.Transaction
 

C

commitTx() - Method in interface org.apache.tephra.TransactionAware
Called before transaction has been committed.

E

excludesSize() - Method in class org.apache.tephra.Transaction
 

G

getCheckpointWritePointers() - Method in class org.apache.tephra.Transaction
Returns any prior write pointers used in the current transaction.
getFirstInProgress() - Method in class org.apache.tephra.Transaction
 
getFirstShortInProgress() - Method in class org.apache.tephra.Transaction
 
getInProgress() - Method in class org.apache.tephra.Transaction
 
getInvalids() - Method in class org.apache.tephra.Transaction
 
getReadPointer() - Method in class org.apache.tephra.Transaction
 
getTransactionAwareName() - Method in interface org.apache.tephra.TransactionAware
Used for error reporting.
getTransactionId() - Method in class org.apache.tephra.Transaction
Returns the initial write pointer assigned to the transaction.
getTxChanges() - Method in interface org.apache.tephra.TransactionAware
 
getType() - Method in class org.apache.tephra.Transaction
 
getVisibilityLevel() - Method in class org.apache.tephra.Transaction
Returns the currently set visibility level.
getVisibilityUpperBound() - Method in class org.apache.tephra.Transaction
 
getWritePointer() - Method in class org.apache.tephra.Transaction
Returns the write pointer to be used in persisting any changes.

H

hasExcludes() - Method in class org.apache.tephra.Transaction
 

I

isCheckpoint(long) - Method in class org.apache.tephra.Transaction
Returns true if the the given version corresponds to one of the checkpoint versions in the current transaction.
isCurrentWrite(long) - Method in class org.apache.tephra.Transaction
Returns whether the given version was written by the current transaction.
isExcluded(long) - Method in class org.apache.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 org.apache.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 org.apache.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 org.apache.tephra.Transaction
 

O

of(Collection<TransactionAware>) - Static method in class org.apache.tephra.TransactionAwares
Create composite transaction aware object that delegates transaction logic to given collection of TransactionAwares
org.apache.tephra - package org.apache.tephra
 

P

postTxCommit() - Method in interface org.apache.tephra.TransactionAware
Called after transaction has been committed.

R

rollbackTx() - Method in interface org.apache.tephra.TransactionAware
Called during transaction rollback (for whatever reason: conflicts, errors, etc.).

S

setVisibility(Transaction.VisibilityLevel) - Method in class org.apache.tephra.Transaction
Sets the visibility level for read operations.
startTx(Transaction) - Method in interface org.apache.tephra.TransactionAware
Called when new transaction has started.

T

toString() - Method in class org.apache.tephra.Transaction
 
Transaction - Class in org.apache.tephra
Transaction details
Transaction(long, long, long[], long[], long) - Constructor for class org.apache.tephra.Transaction
Creates a new short transaction.
Transaction(long, long, long[], long[], long, TransactionType) - Constructor for class org.apache.tephra.Transaction
Creates a new transaction.
Transaction(long, long, long, long[], long[], long, TransactionType, long[], Transaction.VisibilityLevel) - Constructor for class org.apache.tephra.Transaction
Creates a new transaction.
Transaction(Transaction, long, long[]) - Constructor for class org.apache.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 org.apache.tephra
Defines the possible visibility levels for read operations.
TransactionAware - Interface in org.apache.tephra
Interface to be implemented by a component that interacts with transaction logic.
TransactionAwares - Class in org.apache.tephra
Utility class that provides handy methods for working with TransactionAware classes and their instances.
TransactionConflictException - Exception in org.apache.tephra
Thrown to indicate transaction conflict occurred when trying to commit a transaction.
TransactionConflictException(String) - Constructor for exception org.apache.tephra.TransactionConflictException
 
TransactionConflictException(String, Throwable) - Constructor for exception org.apache.tephra.TransactionConflictException
 
TransactionFailureException - Exception in org.apache.tephra
Thrown to indicate execution of a transaction failed.
TransactionFailureException(String) - Constructor for exception org.apache.tephra.TransactionFailureException
 
TransactionFailureException(String, Throwable) - Constructor for exception org.apache.tephra.TransactionFailureException
 
TransactionNotInProgressException - Exception in org.apache.tephra
Thrown when transaction has timed out.
TransactionNotInProgressException(String) - Constructor for exception org.apache.tephra.TransactionNotInProgressException
 
TransactionType - Enum in org.apache.tephra
Type of transaction.

U

updateTx(Transaction) - Method in interface org.apache.tephra.TransactionAware
Called when the state of the current transaction has been updated.

V

valueOf(String) - Static method in enum org.apache.tephra.Transaction.VisibilityLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.tephra.TransactionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.tephra.Transaction.VisibilityLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.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 

Copyright © 2016 The Apache Software Foundation. All rights reserved.