Package | Description |
---|---|
org.nuxeo.runtime.api |
Modifier and Type | Class and Description |
---|---|
static class |
ServicePassivator.Termination.Failure |
static class |
ServicePassivator.Termination.Success |
Modifier and Type | Method and Description |
---|---|
default ServicePassivator.Termination |
ServicePassivator.Termination.onFailure(Consumer<ServicePassivator.Passivator.Accounting.InScopeOfContext> recoverer)
Recover the failure if the passivation was a failure, ie: some activity has been detected during the
protected operation.
|
ServicePassivator.Termination |
ServicePassivator.Termination.Failure.onFailure(Consumer<ServicePassivator.Passivator.Accounting.InScopeOfContext> recoverer) |
default ServicePassivator.Termination |
ServicePassivator.Termination.onSuccess(Runnable finisher)
Executes the runnable if the passivation was as success
|
ServicePassivator.Termination |
ServicePassivator.Termination.Success.onSuccess(Runnable finisher) |
default ServicePassivator.Termination |
ServicePassivator.Termination.peek(Consumer<ServicePassivator.Termination> consumer) |
static ServicePassivator.Termination |
ServicePassivator.proceed(Duration quiet,
Duration timeout,
boolean enforce,
Runnable runnable) |
ServicePassivator.Termination |
ServicePassivator.Waiter.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.
|
Modifier and Type | Method and Description |
---|---|
default ServicePassivator.Termination |
ServicePassivator.Termination.peek(Consumer<ServicePassivator.Termination> consumer) |
Copyright © 2017 Nuxeo. All rights reserved.