A distributed cache configuration.
| Attribute | Value | 
|---|---|
| Default Value | 1.0 | 
| Type | DOUBLE | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | resource-services | 
| Attribute | Value | 
|---|---|
| Default Value | 0 | 
| Type | LONG | 
| Nillable | true | 
| Expressions Allowed | true | 
| Min | 0 | 
| Max | -1 | 
| Unit | MILLISECONDS | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | resource-services | 
| Attribute | Value | 
|---|---|
| Type | LIST | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | resource-services | 
| Attribute | Value | 
|---|---|
| Default Value | 2 | 
| 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 | 10000 | 
| Type | LONG | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | resource-services | 
| Attribute | Value | 
|---|---|
| Default Value | 256 | 
| 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 | false | 
| Type | BOOLEAN | 
| Nillable | true | 
| Expressions Allowed | true | 
| Storage | configuration | 
| Access Type | read-write | 
| Restart Required | resource-services | 
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description | 
|---|---|---|---|---|---|
| capacity-factor | DOUBLE | false | true | 1.0 | Controls the proportion of entries that will reside on the local node, compared to the other nodes in the cluster. | 
| l1-lifespan | LONG | false | true | 0 | 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. | 
| owners | INT | false | true | 2 | Number of cluster-wide replicas for each cache entry. | 
| segments | INT | false | true | 256 | Controls the number of hash space segments which is the granularity for key distribution in the cluster. Value must be strictly positive. | 
| remote-timeout | LONG | false | true | 10000 | 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. | 
| statistics-enabled | BOOLEAN | false | true | false | If enabled, statistics will be collected for this cache | 
| modules | LIST | false | true | The set of modules associated with this cache's configuration. |