Search in sources :

Example 1 with ActiveManagerMessage

use of org.apache.asterix.active.message.ActiveManagerMessage in project asterixdb by apache.

the class FeedOperations method SendStopMessageToNode.

public static void SendStopMessageToNode(ICcApplicationContext appCtx, EntityId feedId, String intakeNodeLocation, Integer partition) throws Exception {
    ActiveManagerMessage stopFeedMessage = new ActiveManagerMessage(ActiveManagerMessage.STOP_ACTIVITY, "SRC", new ActiveRuntimeId(feedId, FeedIntakeOperatorNodePushable.class.getSimpleName(), partition));
    SendActiveMessage(appCtx, stopFeedMessage, intakeNodeLocation);
}
Also used : ActiveRuntimeId(org.apache.asterix.active.ActiveRuntimeId) ActiveManagerMessage(org.apache.asterix.active.message.ActiveManagerMessage)

Aggregations

ActiveRuntimeId (org.apache.asterix.active.ActiveRuntimeId)1 ActiveManagerMessage (org.apache.asterix.active.message.ActiveManagerMessage)1