On-heap object-based memory configuration.
| Attribute | Value |
|---|---|
| Type | LONG |
| Nillable | false |
| Expressions Allowed | false |
| Storage | runtime |
| Access Type | read-only |
| Attribute | Value |
|---|---|
| Default Value | -1 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Attribute | Value |
|---|---|
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Attribute | Value |
|---|---|
| Default Value | ENTRIES |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Allowed Values | ENTRIES |
| Attribute | Value |
|---|---|
| Default Value | NONE |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | no-services |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| size-unit | STRING | false | false | ENTRIES | The unit of the eviction threshold. |
| size | LONG | false | true | Eviction threshold, as defined by the size unit. | |
| strategy | STRING | false | true | NONE | Sets the cache eviction strategy. Available options are 'UNORDERED', 'FIFO', 'LRU', 'LIRS' and 'NONE' (to disable eviction). |
| max-entries | LONG | false | true | -1 | Maximum number of entries in a cache instance. If selected value is not a power of two the actual value will default to the least power of two larger than selected value. -1 means no limit. |