Search in sources :

Example 1 with ClusterEventType

use of org.apache.hyracks.api.application.IClusterLifecycleListener.ClusterEventType in project asterixdb by apache.

the class ReplicaEvent method create.

public static ReplicaEvent create(DataInput input) throws IOException {
    Replica replica = Replica.create(input);
    ClusterEventType eventType = ClusterEventType.values()[input.readInt()];
    ReplicaEvent event = new ReplicaEvent(replica, eventType);
    return event;
}
Also used : ClusterEventType(org.apache.hyracks.api.application.IClusterLifecycleListener.ClusterEventType)

Aggregations

ClusterEventType (org.apache.hyracks.api.application.IClusterLifecycleListener.ClusterEventType)1