A replicated cache
| Attribute | Value |
|---|---|
| Default Value | false |
| Type | BOOLEAN |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Default Value | false |
| Type | BOOLEAN |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Default Value | NONE |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Allowed Values | NONE LOCAL ALL |
| Attribute | Value |
|---|---|
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Type | STRING |
| Nillable | false |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Allowed Values | SYNC ASYNC |
| Attribute | Value |
|---|---|
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Default Value | 10 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | false |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Default Value | 0 |
| Type | INT |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Default Value | 17500 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | false |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Attribute | Value |
|---|---|
| Default Value | LAZY |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Allowed Values | EAGER LAZY |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| start | STRING | false | false | The cache start mode, which can be EAGER (immediate start) or LAZY (on-demand start). | |
| batching | BOOLEAN | false | false | If enabled, the invocation batching API will be made available for this cache. | |
| indexing | STRING | false | false | If enabled, entries will be indexed when they are added to the cache. Indexes will be updated as entries change or are removed. | |
| jndi-name | STRING | false | false | The jndi-name to which to bind this cache instance. | |
| module | STRING | false | false | The module whose class loader should be used when building this cache's configuration. | |
| async-marshalling | BOOLEAN | false | false | If enabled, this will cause marshalling of entries to be performed asynchronously. | |
| mode | STRING | true | true | Sets the clustered cache mode, ASYNC for asynchronous operation, or SYNC for synchronous operation. | |
| queue-size | INT | false | false | In ASYNC mode, this attribute can be used to trigger flushing of the queue when it reaches a specific threshold. | |
| queue-flush-interval | LONG | false | false | In ASYNC mode, this attribute controls how often the asynchronous thread used to flush the replication queue runs. This should be a positive integer which represents thread wakeup time in milliseconds. | |
| remote-timeout | LONG | false | false | In SYNC mode, the timeout (in ms) used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown. | |
| state-transfer | OBJECT | false | false | The state transfer configuration for distribution and replicated caches. |