use of com.hazelcast.nio.Address in project hazelcast by hazelcast.
the class SetMasterOperation method readInternal.
@Override
protected void readInternal(final ObjectDataInput in) throws IOException {
masterAddress = new Address();
masterAddress.readData(in);
}
use of com.hazelcast.nio.Address in project hazelcast by hazelcast.
the class SplitBrainMergeValidationOperation method afterRun.
@Override
public void afterRun() throws Exception {
if (removeCaller) {
ClusterServiceImpl service = getService();
Address caller = getCallerAddress();
service.removeAddress(caller, "Removing " + caller + ", since it thinks it's already split from this cluster " + "and looking to merge.");
}
}
use of com.hazelcast.nio.Address in project hazelcast by hazelcast.
the class ChangeClusterStateOperation method readInternal.
@Override
protected void readInternal(ObjectDataInput in) throws IOException {
super.readInternal(in);
stateChange = in.readObject();
initiator = new Address();
initiator.readData(in);
txnId = in.readUTF();
isTransient = in.readBoolean();
}
use of com.hazelcast.nio.Address in project hazelcast by hazelcast.
the class FinalizeJoinOperation method run.
@Override
public void run() throws Exception {
checkLocalMemberUuid();
ClusterServiceImpl clusterService = getService();
Address callerAddress = getConnectionEndpointOrThisAddress();
boolean finalized = clusterService.finalizeJoin(memberInfos, callerAddress, clusterId, clusterState, clusterVersion, clusterStartTime, masterTime);
if (!finalized) {
return;
}
processPartitionState();
sendPostJoinOperations();
runPostJoinOp();
}
use of com.hazelcast.nio.Address in project hazelcast by hazelcast.
the class MergeClustersOperation method readInternal.
@Override
protected void readInternal(ObjectDataInput in) throws IOException {
super.readInternal(in);
newTargetAddress = new Address();
newTargetAddress.readData(in);
}
Aggregations