Package org.jgrapes.io.util
Interface AvailabilityListener
- All Superinterfaces:
EventListener
Used to notify interested objects about the changed availability
of permits.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
availabilityChanged
(PermitsPool pool, boolean available) Called when the availability has changed.
-
Method Details
-
availabilityChanged
Called when the availability has changed.- Parameters:
pool
- the poolavailable
- the available
-