Package com.googlecode.objectify.impl
Class WriteEngine
java.lang.Object
com.googlecode.objectify.impl.WriteEngine
This is the master logic for saving and deleting entities from the datastore. It provides the
fundamental operations that enable the rest of the API. One of these engines is created for every operation;
upon completion, it is thrown away.
- Author:
- Jeff Schnitzer <[email protected]>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AsyncDatastoreReaderWriterprotected final Deferrerprotected final ObjectifyImplprotected final Session -
Constructor Summary
ConstructorsConstructorDescriptionWriteEngine(ObjectifyImpl ofy, AsyncDatastoreReaderWriter datastore, Session session, Deferrer deferrer) -
Method Summary
-
Field Details
-
ofy
-
datastore
-
session
-
deferrer
-
-
Constructor Details
-
WriteEngine
public WriteEngine(ObjectifyImpl ofy, AsyncDatastoreReaderWriter datastore, Session session, Deferrer deferrer)
-
-
Method Details
-
save
The fundamental put() operation. -
delete
The fundamental delete() operation.
-