org.apache.aries.quiesce.manager.impl
Class QuiesceManagerImpl

java.lang.Object
  extended by org.apache.aries.quiesce.manager.impl.QuiesceManagerImpl
All Implemented Interfaces:
org.apache.aries.quiesce.manager.QuiesceManager

public class QuiesceManagerImpl
extends Object
implements org.apache.aries.quiesce.manager.QuiesceManager


Constructor Summary
QuiesceManagerImpl(org.osgi.framework.BundleContext bc)
           
 
Method Summary
 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)
           
 Future<?> quiesceWithFuture(long timeout, List<org.osgi.framework.Bundle> bundles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuiesceManagerImpl

public QuiesceManagerImpl(org.osgi.framework.BundleContext bc)
Method Detail

quiesce

public void quiesce(long timeout,
                    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 Future<?> quiesceWithFuture(List<org.osgi.framework.Bundle> bundlesToQuiesce)
Specified by:
quiesceWithFuture in interface org.apache.aries.quiesce.manager.QuiesceManager

quiesceWithFuture

public Future<?> quiesceWithFuture(long timeout,
                                   List<org.osgi.framework.Bundle> bundles)
Specified by:
quiesceWithFuture in interface org.apache.aries.quiesce.manager.QuiesceManager

quiesce

public void quiesce(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-2011 The Apache Software Foundation. All Rights Reserved.