The cache transaction configuration.
| Type | LONG |
| Default Value | 60000 |
| Unit | MILLISECONDS |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | resource-services |
| Min | 0 |
| Max | 9223372036854775807 |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Default Value | PESSIMISTIC |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | resource-services |
| Allowed Values |
PESSIMISTIC OPTIMISTIC |
| Stability Level | default |
| Raw DMR model |
|
| Type | STRING |
| Default Value | NONE |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | resource-services |
| Allowed Values |
NON_XA BATCH FULL_XA NONE NON_DURABLE_XA |
| Stability Level | default |
| Raw DMR model |
|
| Type | LONG |
| Default Value | 10000 |
| Unit | MILLISECONDS |
| Is the attribute nillable? | true |
| Does the attribute allow expression? | true |
| Where is the attribute stored? | configuration |
| Access Type | read-write |
| Is restarted required? | resource-services |
| Min | 0 |
| Max | 9223372036854775807 |
| Stability Level | default |
| Raw DMR model |
|
| 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. |
| Raw DMR model |
|
| Raw DMR model |
|
Galleon features are to be used when creating Galleon feature-packs.
<feature spec="subsystem.infinispan.cache-container.distributed-cache.component.transaction">
<param name="cache-container" value="{resource name}"/>
<param name="distributed-cache" value="{resource name}"/>
<param name="complete-timeout" value="{value}"/>
<param name="locking" value="{value}"/>
<param name="mode" value="{value}"/>
<param name="stop-timeout" value="{value}"/>
<feature/>