public class TwoPhaseTransactionDataImpl extends java.lang.Object implements TwoPhaseTransactionData
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ActiveDescriptor<?>> |
added |
private java.util.List<ActiveDescriptor<?>> |
removed |
| Constructor and Description |
|---|
TwoPhaseTransactionDataImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ActiveDescriptor<?>> |
getAllAddedDescriptors()
Gets all ActiveDescriptors that will be added in this transaction
|
java.util.List<ActiveDescriptor<?>> |
getAllRemovedDescriptors()
Gets all ActiveDescriptors that will be removed by this transaction
|
(package private) void |
toAdd(ActiveDescriptor<?> addMe) |
(package private) void |
toRemove(ActiveDescriptor<?> removeMe) |
java.lang.String |
toString() |
private final java.util.List<ActiveDescriptor<?>> added
private final java.util.List<ActiveDescriptor<?>> removed
public java.util.List<ActiveDescriptor<?>> getAllAddedDescriptors()
TwoPhaseTransactionDatagetAllAddedDescriptors in interface TwoPhaseTransactionDatapublic java.util.List<ActiveDescriptor<?>> getAllRemovedDescriptors()
TwoPhaseTransactionDatagetAllRemovedDescriptors in interface TwoPhaseTransactionDatavoid toAdd(ActiveDescriptor<?> addMe)
void toRemove(ActiveDescriptor<?> removeMe)
public java.lang.String toString()
toString in class java.lang.Object