org.exoplatform.social.common.service.utils
Class AsyncProcessorTool
java.lang.Object
org.exoplatform.social.common.service.utils.AsyncProcessorTool
public class AsyncProcessorTool
- extends Object
|
Method Summary |
static void |
process(AsyncProcessor processor,
ProcessContext processContext)
Calls the async of the processor's process method and waits
for it to complete before returning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncProcessorTool
public AsyncProcessorTool()
process
public static void process(AsyncProcessor processor,
ProcessContext processContext)
throws Exception
- Calls the async of the processor's process method and waits
for it to complete before returning. This can be used by
AsyncProcessor
objects to implement their sync version of the process method.
- Parameters:
processor - the processorexchange - the exchange
- Throws:
Exception - can be thrown if waiting is interrupted
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.