public abstract class StoreManagerImpl extends java.lang.Object implements StoreManager
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
optimistic
Indicates whether current transaction is optimistic or not.
|
| Modifier | Constructor and Description |
|---|---|
protected |
StoreManagerImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush(java.util.Iterator it,
PersistenceManagerInternal pm)
Flushes all StateManagerInternals in the given Iterator.
|
QueryResult |
newQueryResult(QueryResultHelper qrh)
Returns a QueryResult instance which is then returned as the result of
Query.execute(...).
|
protected abstract void |
preFlush()
Perform any actions required before StateManager's are flushed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyKeyFieldsFromObjectId, createObjectId, delete, fetch, getConnector, getConnector, getExtent, getExternalObjectId, getInternalObjectId, getPCClassForOid, hasActualPCClass, insert, newObjectIdInstance, update, verifyFieldsprotected boolean optimistic
flush(java.util.Iterator, org.apache.jdo.pm.PersistenceManagerInternal).protected abstract void preFlush()
public void flush(java.util.Iterator it,
PersistenceManagerInternal pm)
optimistic is set
correctly.flush in interface StoreManagerit - Iterator of StateManagerInternal instances to be flushed.pm - PersistenceManagerInternal on whose behalf instances are being
flushed.StoreManager.flush(java.util.Iterator, org.apache.jdo.pm.PersistenceManagerInternal)public QueryResult newQueryResult(QueryResultHelper qrh)
newQueryResult in interface StoreManagerqrh - the helper providing the query tree, the candidates
and the actual parameters.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.