kodo.runtime
Class InMemorySavepointManager
java.lang.Object
|
+--kodo.runtime.InMemorySavepointManager
- All Implemented Interfaces:
- SavepointManager
- public class InMemorySavepointManager
- extends Object
- implements SavepointManager
A SavepointManager implementation which stores all data
in memory.
- Since:
- 3.4
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemorySavepointManager
public InMemorySavepointManager()
getPreFlush
public boolean getPreFlush()
- Return whether to call
KodoPersistenceManager.preFlush()
when a savepoint is set. While this will allow for tracking of
newly embedded fields, it has the side effect of going through
pre-flush operations.
setPreFlush
public void setPreFlush(boolean preFlush)
- Set whether to call
KodoPersistenceManager.preFlush()
when a savepoint is set. While this will allow for tracking of
newly embedded fields, it has the side effect of going through
pre-flush operations.
newSavepoint
public KodoSavepoint newSavepoint(String name,
KodoPersistenceManager pm)
- Description copied from interface:
SavepointManager
- Return a new savepoint for the given name, which may be null.
- Specified by:
newSavepoint in interface SavepointManager
supportsIncrementalFlush
public boolean supportsIncrementalFlush()
- Cannot incrementally flush as saved fields may become out of synch.
- Specified by:
supportsIncrementalFlush in interface SavepointManager
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.