|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jdo.store.StoreManagerImpl
public abstract class StoreManagerImpl
StoreManagerImpl provides a base for fully implementing the StoreManager interface.
| Field Summary | |
|---|---|
protected boolean |
optimistic
Indicates whether current transaction is optimistic or not. |
| Constructor Summary | |
|---|---|
protected |
StoreManagerImpl()
Default constructor. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jdo.store.StoreManager |
|---|
copyKeyFieldsFromObjectId, createObjectId, delete, fetch, getConnector, getConnector, getExtent, getExternalObjectId, getInternalObjectId, getPCClassForOid, hasActualPCClass, insert, newObjectIdInstance, update, verifyFields |
| Field Detail |
|---|
protected boolean optimistic
flush(java.util.Iterator, org.apache.jdo.pm.PersistenceManagerInternal).
| Constructor Detail |
|---|
protected StoreManagerImpl()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||