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;
}
Aggregations