|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.data.StructureChangeListener oracle.javatools.data.ChangeBuffer
public final class ChangeBuffer
This class is a specialized StructureChangeListener
whose
purpose is to buffer and accumulate ChangeInfo
objects
representing changes that have occurred to a Structure
.
It is used primarily by Structure.applyBatchChanges(java.lang.Runnable)
to buffer changes until the Runnable complets, so that a single change
event is fired when the Runnable finishes. However, it can also be
used as a means to capturing "deltas" that have occurred on a
HashStructure
between two discrete points in time so that the
deltas can be applied via HashStructure.applyChanges(oracle.javatools.data.ChangeInfo[])
instead of performing a deep copy.
Constructor Summary | |
---|---|
ChangeBuffer()
|
Method Summary | |
---|---|
ChangeInfo[] |
getChanges()
|
void |
structureValuesChanged(StructureChangeEvent e)
This method is called when a change occurs in a structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeBuffer()
Method Detail |
---|
public void structureValuesChanged(StructureChangeEvent e)
StructureChangeListener
structureValuesChanged
in class StructureChangeListener
public ChangeInfo[] getChanges()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |