Package com.sleepycat.je.rep.impl.node

Examples of com.sleepycat.je.rep.impl.node.FeederManager


                 * Re-informing when the node is a master is just an
                 * optimization, it does not impact correctness. Further
                 * minimize network traffic by trying just the nodes that are
                 * currently disconnected.
                 */
                final FeederManager feederManager = repNode.feederManager();
                final Set<String> active = feederManager.activeReplicas();
                active.add(repNode.getNodeName());

                final Set<InetSocketAddress> learners =
                    new HashSet<InetSocketAddress>();
                for (RepNodeImpl rn : repGroup.getAllMembers(null)) {
View Full Code Here


                 */
                return;
            }
            /* Snapshot the state to be used in the error message */
            final String dumpState = repImpl.dumpFeederState();
            final FeederManager feederManager =
                repImpl.getRepNode().feederManager();
            int currentFeederCount =
                feederManager.getNumCurrentAckFeeders(txn.getCommitVLSN());
            /*
             * Repeat the check to ensure that acks have not been received in
             * the time between the completion of the await() call above and
             * the creation of the exception message. This tends to happen when
             * there are lots of threads in the process thus potentially
View Full Code Here

TOP

Related Classes of com.sleepycat.je.rep.impl.node.FeederManager

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.