java.lang.Object
org.firebirdsql.gds.ng.wire.AsyncFetchStatus.Pending
- All Implemented Interfaces:
AsyncFetchStatus
- Direct Known Subclasses:
AsyncFetchStatus.CompletedWithException
- Enclosing interface:
- AsyncFetchStatus
public static sealed class AsyncFetchStatus.Pending
extends Object
implements AsyncFetchStatus
permits AsyncFetchStatus.CompletedWithException
Signals an async fetch pending.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firebirdsql.gds.ng.wire.AsyncFetchStatus
AsyncFetchStatus.CompletedWithException, AsyncFetchStatus.NonePending, AsyncFetchStatus.Pending -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIs this a status signalling an async fetch is pending (which includes having completed with an exception).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.firebirdsql.gds.ng.wire.AsyncFetchStatus
exception
-
Method Details
-
isPending
public final boolean isPending()Description copied from interface:AsyncFetchStatusIs this a status signalling an async fetch is pending (which includes having completed with an exception).- Specified by:
isPendingin interfaceAsyncFetchStatus- Returns:
trueif this status is pending
-