wt_event_t class final

One completed unit of work.

Ownership: data (when non-NULL) and message belong to the enclosing wt_event_batch_t and stay valid until wt_batch_free. handle/handle2 are transferred to the callee when non-NULL and must be released with the matching wt_*_free.

Inheritance
Implemented types
Available extensions

Constructors

wt_event_t()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
aux ↔ int
Operation specific scalar: bytes written/read, stream id, error code, ...
getter/setter pair
data ↔ Pointer<Uint8>
Payload owned by the batch, or NULL.
getter/setter pair
data_len ↔ int
Number of bytes at data.
getter/setter pair
handle ↔ Pointer<Void>
Primary produced handle, or NULL.
getter/setter pair
handle2 ↔ Pointer<Void>
Secondary produced handle (receive side of a bidirectional stream), or NULL.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
kind ↔ wt_op_t
getter/setter pair
kindAsInt ↔ int
wt_op_t of the operation that produced this event.
getter/setter pair
message ↔ Pointer<Char>
NUL-terminated diagnostic string owned by the batch, or NULL.
getter/setter pair
op_id ↔ int
Caller supplied correlation id (op_id argument of the call).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ wt_status_t
getter/setter pair
statusAsInt ↔ int
wt_status_t outcome.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

$allocate(Allocator $allocator, {required int op_id, required wt_op_t kind, required wt_status_t status, required Pointer<Void> handle, required Pointer<Void> handle2, required int aux, required Pointer<Uint8> data, required int data_len, required Pointer<Char> message}) → Pointer<wt_event_t>