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