public class InMemorySavepointManager extends Object implements SavepointManager
SavepointManager
implementation which stores all data in memory.Constructor and Description |
---|
InMemorySavepointManager() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 SavepointManager
public boolean supportsIncrementalFlush()
SavepointManager
supportsIncrementalFlush
in interface SavepointManager
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.