LOCAL
ALL
jndi-name The jndi-name to which to bind this cache instance. Attribute | Value |
Type | STRING |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
l1-lifespan Maximum lifespan of an entry placed in the L1 cache. This element configures the L1 cache behavior in 'distributed' caches instances. In any other cache modes, this element is ignored. Attribute | Value |
Default Value | 600000 |
Type | LONG |
Nillable | true |
Expressions Allowed | false |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
mode Sets the clustered cache mode, ASYNC for asynchronous operation, or SYNC for synchronous operation. Attribute | Value |
Type | STRING |
Nillable | false |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Allowed Values | SYNC ASYNC |
owners Number of cluster-wide replicas for each cache entry. Attribute | Value |
Default Value | 2 |
Type | INT |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
queue-flush-interval 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. Attribute | Value |
Default Value | 10 |
Type | LONG |
Nillable | true |
Expressions Allowed | false |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
queue-size In ASYNC mode, this attribute can be used to trigger flushing of the queue when it reaches a specific threshold. Attribute | Value |
Default Value | 0 |
Type | INT |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
remote-timeout 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. Attribute | Value |
Default Value | 17500 |
Type | LONG |
Nillable | true |
Expressions Allowed | false |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
start The cache start mode, which can be EAGER (immediate start) or LAZY (on-demand start). 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 |
virtual-nodes Controls the number of virtual nodes per "real" node. If numVirtualNodes is 1, then virtual nodes are disabled. The topology aware consistent hash must be used if you wish to take advantage of virtual nodes. A default of 1 is used. Attribute | Value |
Default Value | 1 |
Type | INT |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |