Package org.jppf.utils
Class CloseableHandler
java.lang.Object
org.jppf.utils.CloseableHandler
A helper class to handle close operations throughout a JVM.
- Author:
- Laurent Cohen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddResetCloseable(String handlerName, Closeable c) Add aCloseableto the list of reset closeables.static voidhandleCloseables(String name) Close() all the closeables.
-
Field Details
-
DRIVER
Name for the set of driver closeables.- See Also:
-
NODE
Name for the set of node closeables.- See Also:
-
-
Constructor Details
-
CloseableHandler
public CloseableHandler()
-
-
Method Details