|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TxIntrospector
The TxIntrospector class allows access to internal details from transactions executed in the system.
Nested Class Summary | |
---|---|
static class |
TxIntrospector.Entry
Used to represent a read or write-set entry. |
static class |
TxIntrospector.RelationChangelog
Used to represent a change to a relationship between two objects. |
Field Summary | |
---|---|
static String |
TXINTROSPECTOR_ON_CONFIG_KEY
|
static String |
TXINTROSPECTOR_ON_CONFIG_VALUE
|
Method Summary | |
---|---|
void |
addModifiedRelation(TxIntrospector.RelationChangelog relationChangelog)
Adds the RelationChangeLog to the list of relations changed
during this transaction. |
Collection<DomainObject> |
getDirectlyModifiedObjects()
Returns a Collection containing objects which had any of their slots modified, excluding those that only had relationship changes. |
Collection<DomainObject> |
getModifiedObjects()
Returns a Collection containing both objects which had any of their slots modified and those that had relationship changes. |
Collection<DomainObject> |
getNewObjects()
Returns a Collection containing new objects created during this transaction. |
Collection<TxIntrospector.Entry> |
getReadSetLog()
Returns the read-set of this transaction. |
Collection<TxIntrospector.RelationChangelog> |
getRelationsChangelog()
Returns a Collection containing the relations changed during this transaction. |
Collection<TxIntrospector.Entry> |
getWriteSetLog()
Returns the write-set of this transaction. |
Field Detail |
---|
static final String TXINTROSPECTOR_ON_CONFIG_KEY
static final String TXINTROSPECTOR_ON_CONFIG_VALUE
Method Detail |
---|
Collection<DomainObject> getNewObjects()
Collection<DomainObject> getDirectlyModifiedObjects()
Collection<DomainObject> getModifiedObjects()
Collection<TxIntrospector.Entry> getReadSetLog()
Collection<TxIntrospector.Entry> getWriteSetLog()
Collection<TxIntrospector.RelationChangelog> getRelationsChangelog()
void addModifiedRelation(TxIntrospector.RelationChangelog relationChangelog)
RelationChangeLog
to the list of relations changed
during this transaction.
relationChangelog
- The change log to be added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |