Class LifeCycleCompletionService
java.lang.Object
org.exoplatform.social.common.lifecycle.LifeCycleCompletionService
- All Implemented Interfaces:
org.picocontainer.Startable
Process the callable request out of the http request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlongbooleanisAsync()voidstop()voidwaitAllTaskFinished(long timeout) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.picocontainer.Startable
start
-
Constructor Details
-
LifeCycleCompletionService
public LifeCycleCompletionService(org.exoplatform.container.xml.InitParams params)
-
-
Method Details
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-
addTask
-
waitCompletionFinished
public void waitCompletionFinished() -
isAsync
public boolean isAsync() -
getActiveTaskCount
public long getActiveTaskCount() -
waitAllTaskFinished
public void waitAllTaskFinished(long timeout)
-