FdbFuture.Flags

Namespace: FoundationDB.Client.Native · class

Fields

CANCELLED

const int CANCELLED

The future has been cancelled from an external source (manually, or via then CancellationToken)

COMPLETED

const int COMPLETED

The future has completed (either success or failure)

DEFAULT

const int DEFAULT

Future is being constructed and is not yet ready.

DISPOSED

const int DISPOSED

Dispose has been called

FIRED

const int FIRED

The native callback has fired and the completion has been (or is about to be) queued: from this point the queued completion owns the cleanup, and Dispose/Cancel must hand off instead of cleaning up themselves (a cleanup racing the queued item could recycle the instance under it).

MEMORY_RELEASED

const int MEMORY_RELEASED

The resources allocated by this future have been released

READY

const int READY

The future has been constructed, and is listening for the callbacks

UNPOOLED

const int UNPOOLED

This instance must never return to the pool: its object identity has escaped to a holder (a watch keeping the wrapper, a materialized Task hatch) that may observe it after completion.