public class DefaultObjectStoreFactory extends Object implements ObjectStoreFactory
ObjectStoreFactory
which makes decision to
turn ObjectStore
's syncing with parent DataRowStore
on or off
basing on RuntimeProperties
.Modifier and Type | Field and Description |
---|---|
protected ObjectMapRetainStrategy |
retainStrategy |
protected RuntimeProperties |
runtimeProperties |
Constructor and Description |
---|
DefaultObjectStoreFactory() |
Modifier and Type | Method and Description |
---|---|
ObjectStore |
createObjectStore(DataRowStore dataRowCache)
Creates an
ObjectStore with provided dataRowCache |
protected RuntimeProperties runtimeProperties
protected ObjectMapRetainStrategy retainStrategy
public ObjectStore createObjectStore(DataRowStore dataRowCache)
ObjectStoreFactory
ObjectStore
with provided dataRowCachecreateObjectStore
in interface ObjectStoreFactory
Copyright © 2001–2015 Apache Cayenne. All rights reserved.