public interface SurrogateManager
Modifier and Type | Method and Description |
---|---|
void |
createSurrogates(PrepareRequest req)
Modify req so that all references are local.
|
void createSurrogates(PrepareRequest req)
Modify req so that all references are local. It should do so by creating or reusing surrogate objects for all of the non-local references. Any new surrogate objects should be added to the req.creates, while any read surrogate objects should be added to req.reads.
TODO:
req
- the collections of objects created, modified, and read by this
transaction. These collections may be modified if surrogate
objects are created or modified.