Examples of asNodeStates()


Examples of com.fasterxml.clustermate.service.remote.RemoteCluster.asNodeStates()

    public ClusterStatusMessage asMessage(boolean includeRemote) {
        RemoteCluster rc = (!includeRemote || (_remoteClusterHandler == null)) ?
                null : _remoteClusterHandler.getRemoteCluster();
        return new ClusterStatusMessage(_timeMaster.currentTimeMillis(),
                getLastUpdated(), getLocalState(), getPeerStates(),
                (rc == null) ? null : rc.asNodeStates());
    }

    @Override
    public long getHashOverState()
    {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.