org.objectweb.jotm.core.dependency
Interface Dependency


public interface Dependency

Dependency reflects inter-transaction dependency between two transactions. It is defined as a relation between significant event of two transactions. The type of dependency is one of the DependencyType values.


Method Summary
 int getLeftSignificantEvent()
          Get left significant event of dependency.
 java.lang.String getName()
          Get dependency name.
 int getRightSignificantEvent()
          Get right significant event of dependency.
 int getType()
          Get dependency type.
 

Method Detail

getName

public java.lang.String getName()
Get dependency name.

Returns:
dependency name

getType

public int getType()
Get dependency type.

Returns:
dependency type (one of the DependencyType values)

getLeftSignificantEvent

public int getLeftSignificantEvent()
Get left significant event of dependency.

Returns:
left significant event of dependency (one of the SignificantEventId values)

getRightSignificantEvent

public int getRightSignificantEvent()
Get right significant event of dependency.

Returns:
right significant event of dependency (one of the SignificantEventId values)