com.continuent.tungsten.replicator.util
Interface WatchAction<E>


public interface WatchAction<E>

Denotes an action associated with a WatchEvent that is executed when the watch has matched.

Author:
Robert Hodges

Method Summary
 void matched(E event, int taskId)
          Execute watch action on task ID.
 

Method Detail

matched

void matched(E event,
             int taskId)
Execute watch action on task ID.

Parameters:
event - Event that triggered this action
taskId - ID of task that processed this event