Package com.sleepycat.je.rep.utilint.RepUtils

Examples of com.sleepycat.je.rep.utilint.RepUtils.ExceptionAwareCountDownLatch


        throws IOException, DatabaseException {

        super(repImpl);

        this.repImpl = repImpl;
        readyLatch = new ExceptionAwareCountDownLatch(repImpl, 1);
        nameIdPair = repImpl.getNameIdPair();
        logger = LoggerUtils.getLogger(getClass());

        setName("RepNode " + nameIdPair);
        this.mySocket = repImpl.getSocket();
View Full Code Here


    public void resetReadyLatch(Exception exception) {
        if (readyLatch.getCount() != 0) {
            /* releasing latch in some error situation. */
            readyLatch.releaseAwait(exception);
        }
        readyLatch = new ExceptionAwareCountDownLatch(repImpl, 1);
    }
View Full Code Here

TOP

Related Classes of com.sleepycat.je.rep.utilint.RepUtils.ExceptionAwareCountDownLatch

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.