Table of Contents

Class InPlaceExecutor

Namespace
DxFeed.Graal.Net.Native.Executors
Assembly
DxFeed.Graal.Net.dll

In-process executor that drains pending native tasks on the current Graal isolate thread. Used with DXEndpoint (for example in the LocalHub role) for deterministic unit tests and advanced hosting scenarios.

public sealed class InPlaceExecutor : SafeHandle, IDisposable
Inheritance
InPlaceExecutor
Implements
Inherited Members

Properties

IsInvalid

public override bool IsInvalid { get; }

Property Value

bool

Methods

Create()

Creates a new executor bound to the current isolate thread.

public static InPlaceExecutor Create()

Returns

InPlaceExecutor

A new executor instance.

ProcessAllPendingTasks()

Runs all tasks queued on this executor until the queue is drained.

public void ProcessAllPendingTasks()

ReleaseHandle()

protected override bool ReleaseHandle()

Returns

bool