public interface ExecutionHistoryWriteAccess
| Modifier and Type | Method and Description |
|---|---|
void |
archiveInstance(SessionToken session,
java.util.UUID instanceLogID)
Archives the data of the designated instance to a separate archive.
|
void |
logInstanceChanged(SessionToken session,
long timestamp,
Instance instance) |
void |
logInstanceFailed(SessionToken session,
long timestamp,
Instance instance,
long errorCode,
java.lang.String errorState,
java.lang.String errorMessage) |
void |
logInstanceFinished(SessionToken session,
long timestamp,
Instance instance) |
void |
logInstanceResumed(SessionToken session,
long timestamp,
Instance instance) |
void |
logInstanceStarted(SessionToken session,
long timestamp,
Instance instance) |
void |
logInstanceSuspended(SessionToken session,
long timestamp,
Instance instance) |
void |
logNodeActivated(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
logNodeDeselected(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
logNodeFailed(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeID,
int iteration,
long errorCode,
java.lang.String errorState,
java.lang.String errorMessage) |
void |
logNodeFinished(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeID,
java.util.Map<java.lang.String,java.lang.String> nodeName,
int iteration,
java.net.URI[] executionManagerURIs) |
void |
logNodePromoted(SessionToken session,
long timestamp,
Instance instance,
int nodeId,
int iteration,
ProcessConstants.NodeState promState)
Logs that the activity identified by the designated instance, node and node
iteration has been promoted.
|
void |
logNodeResetHard(SessionToken session,
long timestamp,
Instance instance,
int nodeId,
int iteration,
java.lang.String savepoint)
Logs that the activity identified by the designated instance, node and node
iteration has been reset to the designated savepoint.
|
void |
logNodeResetSoft(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeID,
int iteration) |
void |
logNodeResetTo(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeId,
int iteration,
java.lang.String savepoint)
Logs that the activity identified by the designated instance, node and node iteration has been
reset itself to the designated savepoint.
|
void |
logNodeResumed(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
logNodeSelected(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
logNodeSkipped(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
logNodeStarted(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
java.util.Map<java.lang.String,java.lang.String> nodeName,
int iteration) |
void |
logNodeSuppressed(SessionToken session,
long timestamp,
Instance instance,
int nodeId,
int iteration,
ProcessConstants.NodeState prevState)
Logs that the activity identified by the designated instance, node and node
iteration has been suppressed.
|
void |
logNodeSuspended(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeID,
int iteration) |
void |
logSavepointFlushed(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeId,
int iteration,
java.lang.String savepoint)
Logs that the activity identified by the designated instance, node and node
iteration has flushed its data with the designated savepoint ID.
|
void logInstanceStarted(SessionToken session, long timestamp, Instance instance) throws DataSourceException
DataSourceExceptionvoid logInstanceSuspended(SessionToken session, long timestamp, Instance instance) throws DataSourceException
DataSourceExceptionvoid logInstanceResumed(SessionToken session, long timestamp, Instance instance) throws DataSourceException
DataSourceExceptionvoid logInstanceFinished(SessionToken session, long timestamp, Instance instance) throws DataSourceException
DataSourceExceptionvoid logInstanceFailed(SessionToken session, long timestamp, Instance instance, long errorCode, java.lang.String errorState, java.lang.String errorMessage) throws DataSourceException
DataSourceExceptionvoid logInstanceChanged(SessionToken session, long timestamp, Instance instance) throws DataSourceException
DataSourceExceptionvoid logNodeActivated(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration) throws DataSourceException
DataSourceExceptionvoid logNodeSelected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration) throws DataSourceException
DataSourceExceptionvoid logNodeDeselected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration) throws DataSourceException
DataSourceExceptionvoid logNodeStarted(SessionToken session, long timestamp, Instance instance, int nodeID, java.util.Map<java.lang.String,java.lang.String> nodeName, int iteration) throws DataSourceException
DataSourceExceptionvoid logNodeSuspended(SessionToken session, long timestamp, java.lang.Long clientDelay, Instance instance, int nodeID, int iteration) throws DataSourceException
DataSourceExceptionvoid logNodeResumed(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration) throws DataSourceException
DataSourceExceptionvoid logNodeResetSoft(SessionToken session, long timestamp, java.lang.Long clientDelay, Instance instance, int nodeID, int iteration) throws DataSourceException
DataSourceExceptionvoid logNodeResetTo(SessionToken session, long timestamp, java.lang.Long clientDelay, Instance instance, int nodeId, int iteration, java.lang.String savepoint) throws DataSourceException
session - The session which is used to check for access rights on this method.timestamp - The time for the log entry.clientDelay - The delay (in ms) that occurred between the termination of an activity and
the actual signalling to the execution manager.instance - The process instance of the reset activity.nodeId - The node of the reset activity.iteration - The current iteration count of the reset node.savepoint - The ID of the savepoint to which to reset.DataSourceException - If there are problems accessing and writing the underlying storage,
a DataSourceException will be thrown.void logNodeResetHard(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, java.lang.String savepoint) throws DataSourceException
session - The session which is used to check for access rights on this
method.timestamp - The time for the log entry.instance - The process instance of the reset activity.nodeId - The node of the reset activity.iteration - The current iteration count of the reset node.savepoint - The ID of the savepoint to which to reset. Use
null to reset to the initial state..DataSourceException - If there are problems accessing and writing the
underlying storage, a DataSourceException will be
thrown.void logNodeSkipped(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration) throws DataSourceException
DataSourceExceptionvoid logNodeFinished(SessionToken session, long timestamp, java.lang.Long clientDelay, Instance instance, int nodeID, java.util.Map<java.lang.String,java.lang.String> nodeName, int iteration, @Deprecated java.net.URI[] executionManagerURIs) throws DataSourceException
DataSourceExceptionvoid logNodeFailed(SessionToken session, long timestamp, java.lang.Long clientDelay, Instance instance, int nodeID, int iteration, long errorCode, java.lang.String errorState, java.lang.String errorMessage) throws DataSourceException
DataSourceExceptionvoid logNodeSuppressed(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, ProcessConstants.NodeState prevState) throws DataSourceException
session - The session which is used to check for access rights on this
method.timestamp - The time for the log entry.instance - The process instance of the suppressed activity.nodeId - The node of the suppressed activity.iteration - The current iteration count of the suppressed node.prevState - The previous (normal) state the activity had before being
suppressed.DataSourceException - If there are problems accessing and writing the
underlying storage, a DataSourceException will be
thrown.void logNodePromoted(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, ProcessConstants.NodeState promState) throws DataSourceException
session - The session which is used to check for access rights on this
method.timestamp - The time for the log entry.instance - The process instance of the promoted activity.nodeId - The node of the promoted activity.iteration - The current iteration count of the promoted node.promState - The (normal) state of the activity after promoting it.
This is the state it had before suppression.DataSourceException - If there are problems accessing and writing the
underlying storage, a DataSourceException will be
thrown.void logSavepointFlushed(SessionToken session, long timestamp, java.lang.Long clientDelay, Instance instance, int nodeId, int iteration, java.lang.String savepoint) throws DataSourceException
session - The session which is used to check for access rights on this
method.timestamp - The time for the log entry.clientDelay - The delay that may have occurred between the client
flushing the savepoint and the arrival of the flusing at the
server. This delay is usually caused by the server being
unavailable and the client intermediately storing the values.instance - The process instance of the flushing activity.nodeId - The node of the flushing activity.iteration - The current iteration count of the executed node.savepoint - The ID of the savepoint that has been flushed. This must
not be null, but it may be the empty string.DataSourceException - If there are problems accessing and writing the
underyling storage, a DataSourceException will be
thrown.void archiveInstance(SessionToken session, java.util.UUID instanceLogID) throws DataSourceException
session - The session which is used to check for access rights on this
method.instanceLogID - The log ID (!!) of the instance to archive all
execution history entries.DataSourceException - If there are problems accessing the data
source, a DataSourceException will be thrown.