Class OptimalScheduleFinder._Channel

  • Enclosing class:
    OptimalScheduleFinder

    protected static class OptimalScheduleFinder._Channel
    extends java.lang.Object
    the state of the channel in the channel array has one integer at stateIndex indicating the number of tokens in the channel and another integer at stateIndex+1 indicating how many consumer are still to read the token I need to remember per receiver how many tokens there are for that receiver. If a token is produced, then the value increases for all consumers. When a consumer reads it decreases only for that consumer.
    • Method Summary

      • Methods inherited from class java.lang.Object

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