Class SimpleFieldTracker
java.lang.Object
org.hibernate.bytecode.enhance.internal.tracker.SimpleFieldTracker
- All Implemented Interfaces:
DirtyTracker
small low memory class to keep track of changed fields
uses an array as a set (under the assumption that the number of elements will be low) to avoid having to instantiate an HashSet. if the assumption does not, hold the array can be kept ordered to reduce the cost of verifying duplicates
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleFieldTracker
public SimpleFieldTracker()
-
-
Method Details
-
add
- Specified by:
addin interfaceDirtyTracker
-
contains
- Specified by:
containsin interfaceDirtyTracker
-
clear
public void clear()- Specified by:
clearin interfaceDirtyTracker
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceDirtyTracker
-
get
- Specified by:
getin interfaceDirtyTracker
-
suspend
public void suspend(boolean suspend) - Specified by:
suspendin interfaceDirtyTracker
-