|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.ats.arjuna.coordinator.TxControl
public class TxControl
Transaction configuration object. We have a separate object for this so that other classes can enquire of (and use) this information.
Nested Class Summary | |
---|---|
static class |
TxControl.Shutdown
|
Field Summary | |
---|---|
static String |
DEFAULT_NODE_NAME
|
static int |
NODE_NAME_SIZE
|
Constructor Summary | |
---|---|
TxControl()
|
Method Summary | |
---|---|
static void |
disable()
Stop the transaction system. |
static void |
disable(boolean disableRecovery)
Stop the transaction system. |
static void |
enable()
Start the transaction system. |
static boolean |
getAsyncPrepare()
|
static int |
getDefaultTimeout()
If a timeout is not associated with a transaction when it is created then this value will be used. |
static boolean |
getMaintainHeuristics()
|
static String |
getXANodeName()
|
static boolean |
isBeforeCompletionWhenRollbackOnly()
|
static boolean |
isEnabled()
|
static boolean |
isReadonlyOptimisation()
|
static void |
setDefaultTimeout(int timeout)
Set the timeout to be associated with a newly created transaction if there is no other timeout to be used. |
static void |
setXANodeName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NODE_NAME_SIZE
public static final String DEFAULT_NODE_NAME
Constructor Detail |
---|
public TxControl()
Method Detail |
---|
public static final int getDefaultTimeout()
public static final void setDefaultTimeout(int timeout)
timeout
- public static final void enable()
public static final void disable()
public static final void disable(boolean disableRecovery)
public static final boolean isEnabled()
public static final boolean getAsyncPrepare()
ObjectStore
implementation which the
transaction coordinator will use.ObjectStore
public static final boolean getMaintainHeuristics()
public static boolean isReadonlyOptimisation()
public static final String getXANodeName()
public static void setXANodeName(String name)
public static boolean isBeforeCompletionWhenRollbackOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |