Top Description Fields Constructors Methods
org.h2.mvstore.db

pack-priv final Class MVInDoubtTransaction

extends Object
implements InDoubtTransaction
Class Inheritance
All Implemented Interfaces
org.h2.store.InDoubtTransaction
Imports
org.h2.mvstore.MVStore, org.h2.mvstore.tx.Transaction, org.h2.store.InDoubtTransaction

An in-doubt transaction.

Field Summary

Modifier and TypeField and Description
private int
private final MVStore
private final Transaction

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
getState()

Implements org.h2.store.InDoubtTransaction.getState.

Get the state of this transaction.

public String
getTransactionName()

Implements org.h2.store.InDoubtTransaction.getTransactionName.

Get the name of the transaction.

public void
setState(int
the new state
state
)

Implements org.h2.store.InDoubtTransaction.setState.

Change the state of this transaction.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

stateback to summary
private int state
storeback to summary
private final MVStore store
transactionback to summary
private final Transaction transaction

Constructor Detail

MVInDoubtTransactionback to summary
pack-priv MVInDoubtTransaction(MVStore store, Transaction transaction)

Method Detail

getStateback to summary
public int getState()

Implements org.h2.store.InDoubtTransaction.getState.

Doc from org.h2.store.InDoubtTransaction.getState.

Get the state of this transaction.

Returns:int

the transaction state

Annotations
@Override
getTransactionNameback to summary
public String getTransactionName()

Implements org.h2.store.InDoubtTransaction.getTransactionName.

Doc from org.h2.store.InDoubtTransaction.getTransactionName.

Get the name of the transaction.

Returns:String

the transaction name

Annotations
@Override
setStateback to summary
public void setState(int state)

Implements org.h2.store.InDoubtTransaction.setState.

Doc from org.h2.store.InDoubtTransaction.setState.

Change the state of this transaction. This will also update the transaction log.

Parameters
state:int

the new state

Annotations
@Override