public interface QuiesceManager
QuiesceParticipant
appropriately.Modifier and Type | Method and Description |
---|---|
void |
quiesce(List<org.osgi.framework.Bundle> bundlesToQuiesce)
Request a collection of bundles to be quiesced using the default timeout
|
void |
quiesce(long timeout,
List<org.osgi.framework.Bundle> bundlesToQuiesce)
Request a collection of bundles to be quiesced
|
Future<?> |
quiesceWithFuture(List<org.osgi.framework.Bundle> bundlesToQuiesce)
Request a collection of bundles to be quiesced like
quiesce(long, List<Bundle>)
return a Future that the caller can block on instead of void |
Future<?> |
quiesceWithFuture(long timeout,
List<org.osgi.framework.Bundle> bundlesToQuiesce)
Request a collection of bundles to be quiesced like
quiesce(long, List<Bundle>)
return a Future that the caller can block on instead of void |
void quiesce(long timeout, List<org.osgi.framework.Bundle> bundlesToQuiesce)
timeout
- time to wait (in milliseconds) for all the quiesce participants to finish
before stopping the bundles. If some quiesce participants do not finish within the given timeout the bundles
are stopped regardless at the timeoutbundlesToQuiesce
- void quiesce(List<org.osgi.framework.Bundle> bundlesToQuiesce)
bundlesToQuiesce
- Future<?> quiesceWithFuture(List<org.osgi.framework.Bundle> bundlesToQuiesce)
quiesce(long, List<Bundle>)
return a Future
that the caller can block on instead of voidFuture<?> quiesceWithFuture(long timeout, List<org.osgi.framework.Bundle> bundlesToQuiesce)
quiesce(long, List<Bundle>)
return a Future
that the caller can block on instead of voidtimeout
- time to wait (in milliseconds) for all the quiesce participants to finish
before stopping the bundles. If some quiesce participants do not finish within the given timeout the bundles
are stopped regardless at the timeoutbundlesToQuiesce
- Future
that captures the execution of quiesce. The returned Future
does
not support the cancel operation.Copyright © 2014. All rights reserved.