@SuppressWarnings( "synthetic-access" )
@Override
public void onEvent( EventIterator events ) {
while (events.hasNext()) {
try {
Event event = (Event)events.nextEvent();
smokeCheckSequencingEvent(event,
NODE_SEQUENCED,
SEQUENCED_NODE_ID,
SEQUENCED_NODE_PATH,
OUTPUT_PATH,
SELECTED_PATH,
SEQUENCER_NAME,
USER_ID);
sequencingEvents.putIfAbsent((String)event.getInfo().get(SEQUENCED_NODE_PATH), event);
String nodePath = event.getPath();
logger.debug("New sequenced node at: " + nodePath);
sequencedNodes.put(nodePath, session.getNode(nodePath));
// signal the node is available
createWaitingLatchIfNecessary(nodePath, nodeSequencedLatches);