org.apache.aries.quiesce.manager.impl
Class QuiesceManagerImpl
java.lang.Object
org.apache.aries.quiesce.manager.impl.QuiesceManagerImpl
- All Implemented Interfaces:
- org.apache.aries.quiesce.manager.QuiesceManager
public class QuiesceManagerImpl
- extends java.lang.Object
- implements org.apache.aries.quiesce.manager.QuiesceManager
|
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)
|
java.util.concurrent.Future<?> |
quiesceWithFuture(long timeout,
java.util.List<org.osgi.framework.Bundle> bundles)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuiesceManagerImpl
public QuiesceManagerImpl(org.osgi.framework.BundleContext bc)
quiesce
public void quiesce(long timeout,
java.util.List<org.osgi.framework.Bundle> bundles)
- Attempts to quiesce all bundles in the list. After the timeout has elapsed,
or if successfully quiesced before that, the bundles are stopped. This method
is non-blocking. Calling objects wishing to track the state of the bundles
need to listen for the resulting stop events.
- Specified by:
quiesce in interface org.apache.aries.quiesce.manager.QuiesceManager
quiesceWithFuture
public java.util.concurrent.Future<?> quiesceWithFuture(java.util.List<org.osgi.framework.Bundle> bundlesToQuiesce)
- Specified by:
quiesceWithFuture in interface org.apache.aries.quiesce.manager.QuiesceManager
quiesceWithFuture
public java.util.concurrent.Future<?> quiesceWithFuture(long timeout,
java.util.List<org.osgi.framework.Bundle> bundles)
- Specified by:
quiesceWithFuture in interface org.apache.aries.quiesce.manager.QuiesceManager
quiesce
public void quiesce(java.util.List<org.osgi.framework.Bundle> bundlesToQuiesce)
- Attempts to quiesce all bundles in the list, using the default timeout.
After the timeout has elapsed, or if successfully quiesced before that,
the bundles are stopped. This method is non-blocking. Calling objects
wishing to track the state of the bundles need to listen for the
resulting stop events.
- Specified by:
quiesce in interface org.apache.aries.quiesce.manager.QuiesceManager
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.