Interface AvailabilityListener

All Superinterfaces:
EventListener

public interface AvailabilityListener extends EventListener
Used to notify interested objects about the changed availability of permits.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    availabilityChanged(PermitsPool pool, boolean available)
    Called when the availability has changed.
  • Method Details

    • availabilityChanged

      void availabilityChanged(PermitsPool pool, boolean available)
      Called when the availability has changed.
      Parameters:
      pool - the pool
      available - the available