public class TransactionComponent<T extends TransactionComponent<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TransactionComponent.Locking |
static class |
TransactionComponent.Mode |
Constructor and Description |
---|
TransactionComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Long |
commits()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
commits(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
String |
getKey() |
TransactionComponent.Locking |
locking()
The locking mode for this cache, one of OPTIMISTIC or PESSIMISTIC.
|
T |
locking(TransactionComponent.Locking value)
The locking mode for this cache, one of OPTIMISTIC or PESSIMISTIC.
|
TransactionComponent.Mode |
mode()
Sets the cache transaction mode to one of NONE, NON_XA, NON_DURABLE_XA,
FULL_XA.
|
T |
mode(TransactionComponent.Mode value)
Sets the cache transaction mode to one of NONE, NON_XA, NON_DURABLE_XA,
FULL_XA.
|
Long |
prepares()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
prepares(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
rollbacks()
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
T |
rollbacks(Long value)
Deprecated.
Deprecated. Use metric from corresponding runtime cache
resource.
|
Long |
stopTimeout()
If there are any ongoing transactions when a cache is stopped, Infinispan
waits for ongoing remote and local transactions to finish.
|
T |
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 void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@Deprecated public Long commits()
@Deprecated public T commits(Long value)
public TransactionComponent.Locking locking()
public T locking(TransactionComponent.Locking value)
public TransactionComponent.Mode mode()
public T mode(TransactionComponent.Mode value)
@Deprecated public Long prepares()
@Deprecated public T prepares(Long value)
@Deprecated public Long rollbacks()
@Deprecated public T rollbacks(Long value)
public Long stopTimeout()
Copyright © 2019 JBoss by Red Hat. All rights reserved.