Public Member Functions | |
BlockingComponentListener (Logger logger) | |
boolean | includeForeignComponents () |
synchronized void | componentsAvailable (List< ComponentDescriptor > comps) |
synchronized void | componentsUnavailable (List< String > compNames) |
synchronized void | clearAndExpect (int nCalls) |
boolean | awaitNotifications (long timeout, TimeUnit unit) throws InterruptedException |
Package Functions | |
List< ComponentDescriptor > | getAllCompsAvailable () |
List< String > | getAllCompNamesUnavailable () |
Private Attributes | |
final Logger | logger |
final List< ComponentDescriptor > | allCompsAvailable |
final List< String > | allCompNamesUnavailable |
volatile CountDownLatch | sync |
|
|
|
Waits until
|
|
|
|
Called when components become available Implements alma::acs::container::ContainerServices::ComponentListener.
|
|
Called when components become unavailable Implements alma::acs::container::ContainerServices::ComponentListener.
|
|
|
|
|
|
Called to find out whether a filter should be applied such that only notifications arrive for components to which the caller holds a reference. Implements alma::acs::container::ContainerServices::ComponentListener.
|
|
|
|
|
|
|
|
|