public class JobLifecycleSemaphore extends Object
| Constructor and Description |
|---|
JobLifecycleSemaphore() |
| Modifier and Type | Method and Description |
|---|---|
void |
signalDownState()
Set the state flag for the job as "down" and signal.
|
void |
signalUpState()
Set the state flag for the job as "up" and signal.
|
void |
waitForDownState()
Wait for the job being teared down.
|
void |
waitForUpState()
Wait at job startup.
|
public void waitForUpState()
throws InterruptedException
InterruptedException - on Thread interrupt.public void waitForDownState()
throws InterruptedException
InterruptedException - on Thread interrupt.public void signalUpState()
public void signalDownState()
Copyright © 2011–2018 Talend Inc.. All rights reserved.