Enum AsyncContinuationExecutor
Defines async continuations behavior.
Namespace: Apache.Ignite.Core.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public enum AsyncContinuationExecutor : int
Fields
Name | Description |
---|---|
Custom | Indicates that custom executor is configured on the Java side. This value should not be used explicitly. |
ThreadPool | Executes async continuations on the thread pool (default). |
UnsafeSynchronous | Executes async continuations synchronously on the same thread that completes the previous operation. WARNING: can cause deadlocks and performance issues when not used correctly.
Ignite performs cache operations using a special "striped" thread pool
(see StripedThreadPoolSize). Using this synchronous mode means that
async continuations (any code coming after
This mode can improve performance, because continuations do not have to be scheduled on another thread. However, special care is required to release striped threads as soon as possible. |