|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.roeschter.jsl.SimpleStopper
Most simple version of Stopable. Simply call ServiceStopper.stop( new SimpleStopper() );
Constructor Summary | |
SimpleStopper()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
|
void |
onServiceStop()
Called when the service is about to stop. |
int |
timeToWait()
How long should the ServiceStopper wait (in milliseconds) for the stop thread to die? |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public SimpleStopper()
Method Detail |
public void onServiceStop()
Stopable
onServiceStop
in interface Stopable
public int timeToWait()
Stopable
timeToWait
in interface Stopable
public static void main(java.lang.String[] argv)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |