Package com.taobao.metamorphosis.utils.test

Examples of com.taobao.metamorphosis.utils.test.ClockWatch


            final String consumersPath, final int brokerId, final List<String> consumers,
            final List<RecoverPartition> allRecoverParts, final int parallelHint) {
        log.info("Start to recover offset with " + parallelHint + " threads in parallel");
        final List<List<RecoverPartition>> forks = this.fork(allRecoverParts, parallelHint);
        assert forks.size() == parallelHint;
        final ClockWatch watch = new ClockWatch();
        final CyclicBarrier barrier =
                this.startNRecoverThreads(storeManager, zkClient, consumersPath, brokerId, consumers, parallelHint,
                    forks, watch);
        this.join(watch, barrier);
    }
View Full Code Here

TOP

Related Classes of com.taobao.metamorphosis.utils.test.ClockWatch

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.