public final class TestDaemon
extends fr.paris.lutece.portal.service.daemon.Daemon
Constructor and Description |
---|
TestDaemon() |
Modifier and Type | Method and Description |
---|---|
int |
getStopCallNumber() |
void |
go() |
void |
go(long timeout,
TimeUnit unit) |
boolean |
hasRun() |
void |
resetCompletion() |
void |
resetGo() |
void |
run() |
void |
setRunThrows(boolean shouldThrowInRun) |
void |
setStopThrows(boolean shouldThrowInStop) |
void |
waitForCompletion() |
void |
waitForCompletion(long timeout,
TimeUnit unit) |
public void setRunThrows(boolean shouldThrowInRun)
public void setStopThrows(boolean shouldThrowInStop)
public void run()
public boolean hasRun()
public void resetGo()
public void resetCompletion()
public void go() throws InterruptedException, BrokenBarrierException, TimeoutException
public void go(long timeout, TimeUnit unit) throws InterruptedException, BrokenBarrierException, TimeoutException
public void waitForCompletion() throws InterruptedException, BrokenBarrierException, TimeoutException
public void waitForCompletion(long timeout, TimeUnit unit) throws InterruptedException, BrokenBarrierException, TimeoutException
public int getStopCallNumber()
Copyright © 2020 City of Paris. All rights reserved.