public final class TLockwaitMode
extends java.lang.Object
Class representing Tamino specific lockwait modes. The class provides type safe constant objects representing the possible settings for the lockwait session parameter available for Tamino. The lockwait mode correponds to the _lockwait session parameter of Tamino.
The lockwait mode specifies which action Tamino is to take if a document is currently not accessible because another transaction has a lock on that document that prevents it from being made available. Tamino can either wait until the lock is released or return to the caller immediately with an exception.
Please refer to the description of the Transaction-Related Commands in the Tamino Server documentation for details on the usage of this parameter.
Modifier and Type | Field and Description |
---|---|
static TLockwaitMode |
NO
Constant that represents the "lockwait no" Lockwait mode.
|
static TLockwaitMode |
YES
Constant that represents the "lockwait yes" Lockwait mode.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Returns the string representation of a TLockwaitMode object.
|
public static final TLockwaitMode YES
public static final TLockwaitMode NO
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- - the reference object with which to compare.public int hashCode()
hashCode
in class java.lang.Object
Copyright (c) 2017 Software AG. All Rights Reserved.