Package com.hazelcast.cluster.impl.operations

Examples of com.hazelcast.cluster.impl.operations.MemberInfoUpdateOperation


    private void sendMemberListToOthers() {
        if (!isMaster()) {
            return;
        }
        final Collection<MemberImpl> members = getMemberList();
        MemberInfoUpdateOperation op = new MemberInfoUpdateOperation(createMemberInfos(members), getClusterTime(), false);
        for (MemberImpl member : members) {
            if (member.equals(thisMember)) {
                continue;
            }
            nodeEngine.getOperationService().send(op, member.getAddress());
View Full Code Here


                for (MemberInfo member : setJoins) {
                    calls.add(invokeClusterOperation(new FinalizeJoinOperation(memberInfos, postJoinOp, time), member.getAddress()));
                }
                for (MemberImpl member : members) {
                    if (!member.getAddress().equals(thisAddress)) {
                        calls.add(invokeClusterOperation(new MemberInfoUpdateOperation(memberInfos, time, true), member.getAddress()));
                    }
                }
                updateMembers(memberInfos);
                waitWithDeadline(calls, Math.min(calls.size(), FinalizeJoinOperation.FINALIZE_JOIN_MAX_TIMEOUT),
                        TimeUnit.SECONDS, whileFinalizeJoinsExceptionHandler);
View Full Code Here

TOP

Related Classes of com.hazelcast.cluster.impl.operations.MemberInfoUpdateOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.