public class TransactionComponent extends Object
| Constructor and Description |
|---|
TransactionComponent() |
| Modifier and Type | Method and Description |
|---|---|
Long |
commits()
The number of transaction commits.
|
TransactionComponent |
commits(Long value)
The number of transaction commits.
|
String |
getKey() |
String |
locking()
The locking mode for this cache, one of OPTIMISTIC or PESSIMISTIC.
|
TransactionComponent |
locking(String value)
The locking mode for this cache, one of OPTIMISTIC or PESSIMISTIC.
|
String |
mode()
Sets the cache transaction mode to one of NONE, NON_XA, NON_DURABLE_XA, FULL_XA.
|
TransactionComponent |
mode(String value)
Sets the cache transaction mode to one of NONE, NON_XA, NON_DURABLE_XA, FULL_XA.
|
Long |
prepares()
The number of transaction prepares.
|
TransactionComponent |
prepares(Long value)
The number of transaction prepares.
|
Long |
rollbacks()
The number of transaction rollbacks.
|
TransactionComponent |
rollbacks(Long value)
The number of transaction rollbacks.
|
Long |
stopTimeout()
If there are any ongoing transactions when a cache is stopped, Infinispan waits for ongoing remote and local transactions to finish.
|
TransactionComponent |
stopTimeout(Long value)
If there are any ongoing transactions when a cache is stopped, Infinispan waits for ongoing remote and local transactions to finish.
|
public String getKey()
public Long commits()
public TransactionComponent commits(Long value)
public String locking()
public TransactionComponent locking(String value)
public String mode()
public TransactionComponent mode(String value)
public Long prepares()
public TransactionComponent prepares(Long value)
public Long rollbacks()
public TransactionComponent rollbacks(Long value)
public Long stopTimeout()
public TransactionComponent stopTimeout(Long value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.