Enum AsyncContinuationExecutor
Defines async continuations behavior.
Namespace: Apache.Ignite.Core.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public enum AsyncContinuationExecutor
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 afterawait cache.DoAsync(), or code in ContinueWith())
will run on the striped pool:
|