public class QuiesceManagerImpl extends Object implements QuiesceManager
| Constructor and Description |
|---|
QuiesceManagerImpl(org.osgi.framework.BundleContext bc) |
| Modifier and Type | Method and Description |
|---|---|
void |
quiesce(List<org.osgi.framework.Bundle> bundlesToQuiesce)
Attempts to quiesce all bundles in the list, using the default timeout.
|
void |
quiesce(long timeout,
List<org.osgi.framework.Bundle> bundles)
Attempts to quiesce all bundles in the list.
|
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> bundles)
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 |
public QuiesceManagerImpl(org.osgi.framework.BundleContext bc)
public void quiesce(long timeout,
List<org.osgi.framework.Bundle> bundles)
quiesce in interface QuiesceManagertimeout - 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 timeoutpublic Future<?> quiesceWithFuture(List<org.osgi.framework.Bundle> bundlesToQuiesce)
QuiesceManagerquiesce(long, List<Bundle>)
return a Future that the caller can block on instead of voidquiesceWithFuture in interface QuiesceManagerFuture that captures the execution of quiesce. The returned Future does
not support the cancel operation.public Future<?> quiesceWithFuture(long timeout, List<org.osgi.framework.Bundle> bundles)
QuiesceManagerquiesce(long, List<Bundle>)
return a Future that the caller can block on instead of voidquiesceWithFuture in interface QuiesceManagertimeout - 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 timeoutFuture that captures the execution of quiesce. The returned Future does
not support the cancel operation.public void quiesce(List<org.osgi.framework.Bundle> bundlesToQuiesce)
quiesce in interface QuiesceManagerCopyright © 2013. All Rights Reserved.