Package org.apache.ignite.client
Class ClientCacheConfiguration.Builder
java.lang.Object
org.apache.ignite.client.ClientCacheConfiguration.Builder
- Enclosing interface:
- ClientCacheConfiguration
Cache configuration builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build configuration instance.cacheWriteBehindParallelOperations(int parallelism) Sets the maximum number of parallel write behind operations forCacheStore.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cacheWriteBehindParallelOperations
Sets the maximum number of parallel write behind operations forCacheStore. Default isClientCacheConfiguration.DFLT_WRITE_BEHIND_PARALLEL_OPERATIONS. Determines the maximum number of inflight tasks inCacheWriteMode.ASYNCmode. If queue is full, new task will be inCacheWriteMode.SYNCmode.- Parameters:
parallelism- Number of write behind parallel operations.- Returns:
- This instance.
-
build
Build configuration instance.
-