The cache transaction configuration.
| Attribute | Value |
|---|---|
| Default Value | OPTIMISTIC |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | false |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Allowed Values | OPTIMISTIC PESSIMISTIC |
| Attribute | Value |
|---|---|
| Default Value | NONE |
| Type | STRING |
| Nillable | true |
| Expressions Allowed | true |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Allowed Values | NONE NON_XA NON_DURABLE_XA FULL_XA |
| Attribute | Value |
|---|---|
| Default Value | 30000 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | false |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | all-services |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| mode | STRING | false | true | Sets the cache transaction mode to one of NONE, NON_XA, NON_DURABLE_XA, FULL_XA. | |
| stop-timeout | LONG | false | false | 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. | |
| locking | STRING | false | false | The locking mode for this cache, one of OPTIMISTIC or PESSIMISTIC. |