org.objectweb.jotm.core.dependency
Interface DependencyType


public interface DependencyType

DependencyType defines types of inter-transaction dependencies.


Field Summary
static int typeCausal
          Causal dependency.
static int typeOrder
          Order dependency.
static int typeWeakCausal
          Weak-causal dependency.
 

Field Detail

typeOrder

public static final int typeOrder
Order dependency. This type of dependency ensures given order of significant events

See Also:
Constant Field Values

typeCausal

public static final int typeCausal
Causal dependency. This type of dependency should cause a significant event in case of occurence of another significant event. The ability to ensure a causal dependency depends on the forcability of the significant event that should be caused.

See Also:
Constant Field Values

typeWeakCausal

public static final int typeWeakCausal
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.

See Also:
Constant Field Values