Package org.apache.hadoop.fs
Interface Abortable.AbortableResult
- Enclosing interface:
- Abortable
public static interface Abortable.AbortableResult
Interface for the result of aborts; allows subclasses to extend
(IOStatistics etc) or for future enhancements if ever needed.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWas the stream already closed/aborted?Any exception caught during cleanup operations, exceptions whose raising/catching does not change the semantics of the abort.
-
Method Details
-
alreadyClosed
boolean alreadyClosed()Was the stream already closed/aborted?- Returns:
- true if a close/abort operation had already taken place.
-
anyCleanupException
IOException anyCleanupException()Any exception caught during cleanup operations, exceptions whose raising/catching does not change the semantics of the abort.- Returns:
- an exception or null.
-