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 AsynchronousJobListener
public void afterJobScheduled(AsynchronousJobEvent event)
afterJobScheduled
in interface AsynchronousJobListener
public void beforeJobExecuted(AsynchronousJobEvent event)
beforeJobExecuted
in interface AsynchronousJobListener
public void afterJobExecuted(AsynchronousJobEvent event)
afterJobExecuted
in interface AsynchronousJobListener
public void beforeJobCancelled(AsynchronousJobEvent event)
beforeJobCancelled
in interface AsynchronousJobListener
public void afterJobCancelled(AsynchronousJobEvent event)
afterJobCancelled
in interface AsynchronousJobListener
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.