|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.AsShutdown
public abstract class AsShutdown
Utility class that helps to structure shutting down of AgentScape. It only allows for one shutdown hook to be set per JVM using these semantics, and it allows other classes to get some info on the system (is it shutting down or not).
| Method Summary | |
|---|---|
static boolean |
isShuttingDown()
|
static void |
setShutdownHook(java.lang.Runnable r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setShutdownHook(java.lang.Runnable r)
public static boolean isShuttingDown()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||