Package org.datanucleus
Class DetachState.Entry
java.lang.Object
org.datanucleus.DetachState.Entry
- Enclosing class:
DetachState
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determine whether the current state is "dominated" by any previous detach state for this entry, in which case we know that all the required fields will already be in the detached copy.private boolean
-
Field Details
-
detachedPC
-
detachStates
-
-
Constructor Details
-
Entry
Entry(Object detachedPC)
-
-
Method Details
-
getDetachedCopyObject
-
checkCurrentState
public boolean checkCurrentState()Determine whether the current state is "dominated" by any previous detach state for this entry, in which case we know that all the required fields will already be in the detached copy. (Dominance is transitive, so we can remove redundant entries)- Returns:
- true if we can prove the current state is fully detached already
-
getCurrentState
-
dominates
-