use of com.hazelcast.spi.exception.CallerNotMemberException in project hazelcast by hazelcast.
the class OperationRunnerImpl method ensureValidMember.
private boolean ensureValidMember(Operation op) {
if (node.clusterService.getMember(op.getCallerAddress()) != null || isJoinOperation(op) || isWanReplicationOperation(op)) {
return true;
}
Exception error = new CallerNotMemberException(thisAddress, op.getCallerAddress(), op.getPartitionId(), op.getClass().getName(), op.getServiceName());
handleOperationError(op, error);
return false;
}
Aggregations