Class WorkCounter

java.lang.Object
se.datadosen.util.WorkCounter

public class WorkCounter
extends java.lang.Object
Experimental class to manage waiting for work to be completed in several threads. Only for internal use
  • Constructor Summary

    Constructors 
    Constructor Description
    WorkCounter()  
  • Method Summary

    Modifier and Type Method Description
    int getCount()  
    boolean waitForIdle()  
    boolean waitForIdle​(int millisTimeout)  
    void workDone()  
    void workStarted()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait