Package | Description |
---|---|
org.apache.tephra |
This package contains implementations of the transaction system v2.
|
Modifier and Type | Method and Description |
---|---|
Transaction.VisibilityLevel |
Transaction.getVisibilityLevel()
Returns the currently set visibility level.
|
static Transaction.VisibilityLevel |
Transaction.VisibilityLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.VisibilityLevel[] |
Transaction.VisibilityLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Transaction.setVisibility(Transaction.VisibilityLevel level)
Sets the visibility level for read operations.
|
Constructor and Description |
---|
Transaction(long readPointer,
long txId,
long writePointer,
long[] invalids,
long[] inProgress,
long firstShortInProgress,
TransactionType type,
long[] checkpointPointers,
Transaction.VisibilityLevel visibilityLevel)
Creates a new transaction.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.