org.objectweb.transaction.lib.transaction
Class DependencyTypeWeakCausal
java.lang.Object
|
+--org.objectweb.transaction.lib.transaction.DependencyTypeWeakCausal
- All Implemented Interfaces:
- DependencyType
- public class DependencyTypeWeakCausal
- extends java.lang.Object
- implements DependencyType
DependencyType for a weak-causal inter-transactions dependency.
Weak-causal Dependency: This type of dependency has the same
meaning as the causal dependency, but it is applied only if the
transaction of the "caused" significant event is active.
- Version:
- 0.1
- Author:
- Romain Rouvoy
Field Summary |
static DependencyType |
type
Object value for dependency type Weak-Causal. |
static int |
value
Int value for dependency type Weak-Causal. |
Method Summary |
int |
getValue()
Retrieves the int value for this type of dependency. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
public static final int value
- Int value for dependency type Weak-Causal.
type
public static final DependencyType type
- Object value for dependency type Weak-Causal.
DependencyTypeWeakCausal
public DependencyTypeWeakCausal()
getValue
public int getValue()
- Description copied from interface:
DependencyType
- Retrieves the int value for this type of dependency.
- Specified by:
getValue
in interface DependencyType
- Returns:
- the encoded value for the requested DependencyType
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object