|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.geosolutions.geobatch.misc.PauseHandler
public class PauseHandler
Handles pausing and resuming in a multithreaded environment.
| Constructor Summary | |
|---|---|
PauseHandler(boolean paused)
|
|
| Method Summary | |
|---|---|
boolean |
isPaused()
|
void |
pause()
|
void |
resume()
|
boolean |
waitUntilResumed()
Blocking call: if paused, will block until a resume() is invoked. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PauseHandler(boolean paused)
| Method Detail |
|---|
public void pause()
public void resume()
public boolean isPaused()
public boolean waitUntilResumed()
resume() is invoked.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||