Package org.apache.hadoop.fs.impl
Class TrackingByteBufferPool.LeakedByteBufferException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.hadoop.fs.impl.TrackingByteBufferPool.LeakDetectorHeapByteBufferPoolException
org.apache.hadoop.fs.impl.TrackingByteBufferPool.LeakedByteBufferException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- TrackingByteBufferPool
public static final class TrackingByteBufferPool.LeakedByteBufferException
extends TrackingByteBufferPool.LeakDetectorHeapByteBufferPoolException
Exception raised in
TrackingByteBufferPool.close() if there
was an unreleased buffer.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getCount
public int getCount()Get the number of unreleased buffers.- Returns:
- number of unreleased buffers
-