public abstract class ManagedRunnable extends Object
Constructor and Description |
---|
ManagedRunnable() |
Modifier and Type | Method and Description |
---|---|
void |
requestShutdown()
Request shutdown, this method will be block depends the waitWhileFinish() method
implementation.
|
boolean |
shouldShutdown() |
protected abstract void |
waitWhileFinish()
This method will be invoked by requestShutdown().
|
public void requestShutdown()
public boolean shouldShutdown()
protected abstract void waitWhileFinish()
Copyright © GigaSpaces.