The cache transaction configuration.
| Name | Dynamic | Other provider points |
|---|---|---|
| org.wildfly.transactions.global-default-local-provider | false | /subsystem=transactions |
| Attribute | Value |
|---|---|
| Default Value | 60000 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| 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 |
| 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 |
| Attribute | Value |
|---|---|
| Default Value | 10000 |
| Type | LONG |
| Nillable | true |
| Expressions Allowed | true |
| Unit | MILLISECONDS |
| Storage | configuration |
| Access Type | read-write |
| Restart Required | resource-services |
| Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
|---|---|---|---|---|---|
| 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. |
| complete-timeout | LONG | false | true | 60000 | The duration (in ms) after which idle transactions are removed. |