The cache transaction configuration.
| Attribute | Value |
|---|---|
| Default Value | 60000 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Min | 0 |
| Max | -1 |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Stability | default |
| Attribute | Value |
|---|---|
| Default Value | PESSIMISTIC |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Allowed Values | OPTIMISTIC PESSIMISTIC |
| Stability | default |
| Attribute | Value |
|---|---|
| Default Value | NONE |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Allowed Values | NONE BATCH NON_XA NON_DURABLE_XA FULL_XA |
| Stability | default |
| Attribute | Value |
|---|---|
| Default Value | 10000 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Min | 0 |
| Max | -1 |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Stability | default |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| complete-timeout | LONG | false | true | 60000 | The duration (in ms) after which idle transactions are removed. |
| locking | STRING | false | true | PESSIMISTIC | The locking mode for this cache, one of OPTIMISTIC or PESSIMISTIC. |
| mode | STRING | false | true | NONE | Sets the cache transaction mode to one of NONE, NON_XA, NON_DURABLE_XA, FULL_XA. |
| stop-timeout | LONG | false | true | 10000 | If there are any ongoing transactions when a cache is stopped, Infinispan waits for ongoing remote and local transactions to finish. The amount of time to wait for is defined by the cache stop timeout. |