Examples of DbPing


Examples of com.sleepycat.je.rep.util.DbPing

        /** Ping all electable nodes to issue missed events. */
        private void pingElectableNodes(ReplicationNode repNode,
                                        ReplicationGroup repGroup) {
            final String name = repNode.getName();
            try {
                DbPing ping = new DbPing(repNode,
                                         getGroupName(),
                                         socketConnectTimeout);
                NodeState state = ping.getNodeState();

                /*
                 * Send  a JoinGroupEvent if this node didn't issue a
                 * JoinGroupEvent before.
                 */
 
View Full Code Here

Examples of com.sleepycat.je.rep.util.DbPing

    {
        if (repNode == null)
        {
            throw new IllegalArgumentException("Node cannot be null");
        }
        return new DbPing(repNode, groupName, DB_PING_SOCKET_TIMEOUT).getNodeState();
    }
View Full Code Here

Examples of com.sleepycat.je.rep.util.DbPing

    {
        if (repNode == null)
        {
            throw new IllegalArgumentException("Node cannot be null");
        }
        return new DbPing(repNode, groupName, dbPingSocketTimeout).getNodeState();
    }
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.