Package com.googlecode.objectify.impl
Class Deferrer
java.lang.Object
com.googlecode.objectify.impl.Deferrer
Manages all the logic of deferring operations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deferDelete
(ObjectifyOptions options, Key<?> key) void
deferSave
(ObjectifyOptions options, Object entity) void
flush
(ObjectifyImpl ofy) void
undefer
(ObjectifyOptions options, Object keyOrEntity) Eliminate any deferred operations against the entity.
-
Constructor Details
-
Deferrer
public Deferrer()
-
-
Method Details
-
undefer
Eliminate any deferred operations against the entity. Used when an explicit save (or delete) was executed against the key, so we no longer need the deferred operation.- Parameters:
keyOrEntity
- can be a Key, Keyinvalid input: '<'?>, Entity, or entity pojo
-
deferSave
-
deferDelete
-
flush
-