|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.aries.quiesce.manager.impl.QuiesceManagerImpl
public class QuiesceManagerImpl
Constructor Summary | |
---|---|
QuiesceManagerImpl(org.osgi.framework.BundleContext bc)
|
Method Summary | |
---|---|
void |
quiesce(java.util.List<org.osgi.framework.Bundle> bundlesToQuiesce)
Attempts to quiesce all bundles in the list, using the default timeout. |
void |
quiesce(long timeout,
java.util.List<org.osgi.framework.Bundle> bundles)
Attempts to quiesce all bundles in the list. |
java.util.concurrent.Future<?> |
quiesceWithFuture(java.util.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 |
java.util.concurrent.Future<?> |
quiesceWithFuture(long timeout,
java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuiesceManagerImpl(org.osgi.framework.BundleContext bc)
Method Detail |
---|
public void quiesce(long timeout, java.util.List<org.osgi.framework.Bundle> bundles)
quiesce
in interface QuiesceManager
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 timeoutpublic java.util.concurrent.Future<?> quiesceWithFuture(java.util.List<org.osgi.framework.Bundle> bundlesToQuiesce)
QuiesceManager
quiesce(long, List<Bundle>)
return a Future
that the caller can block on instead of void
quiesceWithFuture
in interface QuiesceManager
Future
that captures the execution of quiesce. The returned Future
does
not support the cancel operation.public java.util.concurrent.Future<?> quiesceWithFuture(long timeout, java.util.List<org.osgi.framework.Bundle> bundles)
QuiesceManager
quiesce(long, List<Bundle>)
return a Future
that the caller can block on instead of void
quiesceWithFuture
in interface QuiesceManager
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 timeout
Future
that captures the execution of quiesce. The returned Future
does
not support the cancel operation.public void quiesce(java.util.List<org.osgi.framework.Bundle> bundlesToQuiesce)
quiesce
in interface QuiesceManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |