Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


com.tangosol.coherence.transaction
Interface TransactionState


public interface TransactionState

Provides information about a transaction.

Since:
Coherence 3.6
Author:
js 2009.06.01

Method Summary
 Isolation getIsolation()
          Obtain isolation level of the transaction.
 Status getStatus()
          Obtain the status of the transaction.
 TransactionId getXid()
          Obtain the unique transaction identifier.
 boolean isAutoCommit()
          Obtain the auto-commit status of the transaction.

 

Method Detail

getIsolation

Isolation getIsolation()
Obtain isolation level of the transaction.

The isolation will be one of the following values:

Returns:
the isolation level

getXid

TransactionId getXid()
Obtain the unique transaction identifier.
Returns:
the transaction identifier

getStatus

Status getStatus()
Obtain the status of the transaction.

The status will be one of the following values:

Returns:
the status of the transaction

isAutoCommit

boolean isAutoCommit()
Obtain the auto-commit status of the transaction.
Returns:
true if the transaction is in auto-commit mode; false otherwise

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.