Package com.hazelcast.management

Examples of com.hazelcast.management.ClusterRuntimeState


        ClusterServiceImpl cluster = node.getClusterService();
        InternalPartitionService partitionService = node.partitionService;
        Collection<LockResource> lockedRecords = collectLockState(instance);
        Map<Address, Connection> connectionMap = node.connectionManager.getReadonlyConnectionMap();

        ClusterRuntimeState clusterRuntimeState = new ClusterRuntimeState(
                cluster.getMembers(),
                partitionService.getPartitions(),
                partitionService.getActiveMigrations(),
                connectionMap,
                lockedRecords);
        clusterRuntimeState.writeData(dos);
    }
View Full Code Here


        clusterRuntimeState.writeData(dos);
    }

    @Override
    public Object readResponse(ObjectDataInput in) throws IOException {
        ClusterRuntimeState clusterRuntimeState = new ClusterRuntimeState();
        clusterRuntimeState.readData(in);
        return clusterRuntimeState;
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.management.ClusterRuntimeState

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.