public class Transactions<T extends Transactions<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Transactions.TransactionsResources
Child mutators for Transactions
|
Constructor and Description |
---|
Transactions(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Long |
ageInSeconds()
The time since this transaction was prepared or when the recovery system
last tried to recover it.
|
T |
ageInSeconds(Long value)
The time since this transaction was prepared or when the recovery system
last tried to recover it.
|
String |
getKey() |
String |
id()
The id of this transaction.
|
T |
id(String value)
The id of this transaction.
|
String |
jmxName()
The JMX name of this transaction.
|
T |
jmxName(String value)
The JMX name of this transaction.
|
T |
participants(List<Participants> value)
Add all Participants objects to this subresource
|
T |
participants(Participants value)
Add the Participants object to the list of subresources
|
T |
participants(ParticipantsSupplier supplier)
Install a supplied Participants object to the list of subresources
|
T |
participants(String childKey)
Create and configure a Participants object to the list of subresources
|
T |
participants(String childKey,
ParticipantsConsumer consumer)
Create and configure a Participants object to the list of subresources
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Transactions.TransactionsResources |
subresources() |
String |
type()
The type name under which this record is stored.
|
T |
type(String value)
The type name under which this record is stored.
|
public Transactions(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Transactions.TransactionsResources subresources()
public T participants(List<Participants> value)
value
- List of Participants objects.public T participants(Participants value)
value
- The Participants to addpublic T participants(String childKey, ParticipantsConsumer consumer)
key
- The key for the Participants resourceconfig
- The ParticipantsConsumer to usepublic T participants(String childKey)
key
- The key for the Participants resourcepublic T participants(ParticipantsSupplier supplier)
public Long ageInSeconds()
public T ageInSeconds(Long value)
public String id()
public String jmxName()
public String type()
Copyright © 2018 JBoss by Red Hat. All rights reserved.