Class LifeCycleCompletionService

java.lang.Object
org.exoplatform.social.common.lifecycle.LifeCycleCompletionService
All Implemented Interfaces:
org.picocontainer.Startable

public class LifeCycleCompletionService extends Object implements org.picocontainer.Startable
Process the callable request out of the http request.
  • Constructor Details

    • LifeCycleCompletionService

      public LifeCycleCompletionService(org.exoplatform.container.xml.InitParams params)
  • Method Details

    • stop

      public void stop()
      Specified by:
      stop in interface org.picocontainer.Startable
    • addTask

      public void addTask(Callable callable)
    • waitCompletionFinished

      public void waitCompletionFinished()
    • isAsync

      public boolean isAsync()
    • getActiveTaskCount

      public long getActiveTaskCount()
    • waitAllTaskFinished

      public void waitAllTaskFinished(long timeout)