public class CountDownAsyncJobListener extends Object implements AsynchronousJobListener
| Constructor and Description |
|---|
CountDownAsyncJobListener(int threads) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterJobCancelled(AsynchronousJobEvent event) |
void |
afterJobExecuted(AsynchronousJobEvent event) |
void |
afterJobScheduled(AsynchronousJobEvent event) |
void |
beforeJobCancelled(AsynchronousJobEvent event) |
void |
beforeJobExecuted(AsynchronousJobEvent event) |
void |
beforeJobScheduled(AsynchronousJobEvent event) |
void |
reset(int threads) |
void |
waitTillCompleted() |
void |
waitTillCompleted(long timeOut) |
public void waitTillCompleted()
public void waitTillCompleted(long timeOut)
public void reset(int threads)
public void beforeJobScheduled(AsynchronousJobEvent event)
beforeJobScheduled in interface AsynchronousJobListenerpublic void afterJobScheduled(AsynchronousJobEvent event)
afterJobScheduled in interface AsynchronousJobListenerpublic void beforeJobExecuted(AsynchronousJobEvent event)
beforeJobExecuted in interface AsynchronousJobListenerpublic void afterJobExecuted(AsynchronousJobEvent event)
afterJobExecuted in interface AsynchronousJobListenerpublic void beforeJobCancelled(AsynchronousJobEvent event)
beforeJobCancelled in interface AsynchronousJobListenerpublic void afterJobCancelled(AsynchronousJobEvent event)
afterJobCancelled in interface AsynchronousJobListenerCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.