Interface IStateListener


public interface IStateListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stateChanged(long queueLength, int instanceId)
     
  • Method Details

    • stateChanged

      void stateChanged(long queueLength, int instanceId)
      Parameters:
      queueLength - the length of the resource's queue
      instanceId - an identifier for the resource instance. A resource instance could be a CPU core. If the resource has only one instance, the instanceId should be 0 for this instance.