|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WorkflowUpdateWatcher
service interface for workflow update watchers.
| Method Summary | |
|---|---|
void |
checkWorkflowVersions()
compare cluster versions of workflows with local versions and update local deployment. |
void |
registerProcessor(WorkflowProcessor processor)
register a workflow processor to be notified on updates. |
void |
startPolling()
start polling for updates. |
void |
startPolling(int pollIntervalSeconds)
start polling for updates with custom interval. |
boolean |
startWatching()
install a ZK watch on the root node to get notifications about changes. |
void |
stopPolling()
stop polling for updates. |
void |
stopWatching()
stop watching: ZK watch on root node will not be reinstalled. |
void |
workflowDeleted(java.lang.String workflowName)
Send delete notification, call on custom workflow remove. |
void |
workflowLoadedOnStart(java.lang.String workflowName,
java.lang.String timestamp)
Initialize notification structure for workflow, call on initial load on service start. |
void |
workflowUpdated(java.lang.String workflowName,
java.lang.String timestamp)
Send update notification, call on custom workflow creation or update. |
| Method Detail |
|---|
void registerProcessor(WorkflowProcessor processor)
boolean startWatching()
void stopWatching()
void startPolling()
void startPolling(int pollIntervalSeconds)
void stopPolling()
void workflowLoadedOnStart(java.lang.String workflowName,
java.lang.String timestamp)
throws ProcessingException
ProcessingException
void workflowUpdated(java.lang.String workflowName,
java.lang.String timestamp)
throws ProcessingException
ProcessingException
void workflowDeleted(java.lang.String workflowName)
throws ProcessingException
ProcessingExceptionvoid checkWorkflowVersions()
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||