|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Persister
The Persister interface defines methods and constants used for storage and retrieval of persistent message information. A Persister interface must be transactionally safe, and must reject any update requests that are not working with the latest data.
Responsibilities of the Persister include:
Converter for structural update processing.
SandMessage).
When processing a query, recordStatus != DELETED is assumed, unless
recordStatus is specified in the query.
Persistence is a critical system function, so any exception thrown by a Persister will likely result in a node shutdown, or a systemwide shutdown. See Persist.html for overview information.
| Field Summary | |
|---|---|
static int |
TEMPIDTHRESHOLD
When adding several new instances at once through an AggregateUpdate, it may be necessary to use temporary IDs to describe the references between object instances. |
| Method Summary | |
|---|---|
void |
init(DataManagerNode node)
Perform whatever steps are necessary at startup. |
SandMessage |
processMessage(SandMessage msg)
Process the specified message appropriately, returning the result. |
| Methods inherited from interface org.sandev.basics.util.IDLookup |
|---|
getInstance |
| Field Detail |
|---|
static final int TEMPIDTHRESHOLD
| Method Detail |
|---|
void init(DataManagerNode node)
throws PersisterException
PersisterException
SandMessage processMessage(SandMessage msg)
throws PersisterException
PersisterException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||