The state transfer configuration for distributed and replicated caches.
Attribute | Value |
---|---|
Default Value | 512 |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Min | 1 |
Max | 2,147,483,647 |
Storage | configuration |
Access Type | read-write |
Restart Required | resource-services |
Attribute | Value |
---|---|
Default Value | true |
Type | BOOLEAN |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | resource-services |
Attribute | Value |
---|---|
Default Value | 240000 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Min | 0 |
Max | -1 |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | resource-services |
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
chunk-size | INT | false | true | 512 | The maximum number of cache entries in a batch of transferred state. |
timeout | LONG | false | true | 240000 | The maximum amount of time (ms) to wait for state from neighboring caches, before throwing an exception and aborting startup. If timeout is 0, state transfer is performed asynchronously, and the cache will be immediately available. |
enabled | BOOLEAN | false | true | true | If enabled, this will cause the cache to ask neighboring caches for state when it starts up, so the cache starts 'warm', although it will impact startup time. |