Package net.spy.memcached.compat
Class CloseUtil
java.lang.Object
net.spy.memcached.compat.CloseUtil
CloseUtil exists to provide a safe means to close anything closeable. This
prevents exceptions from being thrown from within finally blocks while still
providing logging of exceptions that occur during close. Exceptions during
the close will be logged using the spy logging infrastructure, but will not
be propagated up the stack.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
-
-
Constructor Details
-
CloseUtil
private CloseUtil()
-
-
Method Details
-
close
Close a closeable.
-