| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.InMemorySavepointManager
public class InMemorySavepointManager
A SavepointManager implementation which stores all data in memory.
| Constructor Summary | |
|---|---|
| InMemorySavepointManager() | |
| Method Summary | |
|---|---|
|  boolean | getPreFlush()Return whether to call Broker.preFlush()when a savepoint is set. | 
|  OpenJPASavepoint | newSavepoint(String name,
             Broker broker)Return a new savepoint for the given name, which may be null. | 
|  void | setPreFlush(boolean preFlush)Set whether to call Broker.preFlush()when a savepoint is set. | 
|  boolean | supportsIncrementalFlush()Return whether the savepoints generated by this manager can handle incremental flushes to the datastore. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public InMemorySavepointManager()
| Method Detail | 
|---|
public boolean getPreFlush()
Broker.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.
public void setPreFlush(boolean preFlush)
Broker.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.
public OpenJPASavepoint newSavepoint(String name,
                                     Broker broker)
SavepointManager
newSavepoint in interface SavepointManagerpublic boolean supportsIncrementalFlush()
SavepointManager
supportsIncrementalFlush in interface SavepointManager| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||