Interface IStateListener
public interface IStateListener
-
Method Summary
-
Method Details
-
stateChanged
void stateChanged(long queueLength, int instanceId) - Parameters:
queueLength
- the length of the resource's queueinstanceId
- 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.
-