|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.logicalcobwebs.proxool.ShutdownHook
class ShutdownHook
This is instantiated statically by ProxoolFacade. It will automatically close down all the connections when the JVM stops.
| Field Summary | |
|---|---|
private static Log |
LOG
|
private static boolean |
registered
|
| Constructor Summary | |
|---|---|
private |
ShutdownHook()
Registers this ShutdownHook with Runtime |
| Method Summary | |
|---|---|
protected static void |
init()
|
protected static void |
remove(java.lang.Thread t)
|
void |
run()
Remove all connection pools without delay |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final Log LOG
private static boolean registered
| Constructor Detail |
|---|
private ShutdownHook()
| Method Detail |
|---|
protected static void init()
protected static void remove(java.lang.Thread t)
public void run()
run in interface java.lang.RunnableProxoolFacade.removeAllConnectionPools(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||