Class SemaphoreStrategy

java.lang.Object
NetStrategies.SemaphoreStrategy
All Implemented Interfaces:
AutoCheck
Direct Known Subclasses:
NormalSemaphore

public abstract class SemaphoreStrategy extends Object implements AutoCheck
Author:
Vitor S. Lopes
  • Constructor Details

    • SemaphoreStrategy

      public SemaphoreStrategy()
  • Method Details

    • getThreshold

      public abstract int getThreshold()
    • check

      public boolean check()
      Description copied from interface: AutoCheck
      Override this method to implement a specific auto-check for the class.
      Specified by:
      check in interface AutoCheck