Interface IStateListener


  • public interface IStateListener
    • Method Detail

      • 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.