public static class ServicePassivator.Waiter extends Object
Modifier and Type | Method and Description |
---|---|
ServicePassivator.Waiter |
peek(Consumer<ServicePassivator.Waiter> consumer) |
ServicePassivator.Termination |
proceed(Runnable runnable)
Terminates the chain by invoking the operation
waits for the runtime being passivated,
and then runs the operation,
and then notifies the blocked lookup to proceed.
|
public ServicePassivator.Waiter peek(Consumer<ServicePassivator.Waiter> consumer)
public ServicePassivator.Termination proceed(Runnable runnable)
runnable
- the runnable to executeCopyright © 2016 Nuxeo SA. All rights reserved.