Example usage for java.util.concurrent CyclicBarrier subclass-usage

List of usage examples for java.util.concurrent CyclicBarrier subclass-usage

Introduction

In this page you can find the example usage for java.util.concurrent CyclicBarrier subclass-usage.

Usage

From source file Main.java

class Clock extends CyclicBarrier {
    Counter counter;

    public Clock(int parties, Counter counter) {
        super(parties, counter);
        this.counter = counter;