|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UniqueIDManager
Persistency processing is where uniqueIDs are initially assigned and managed. This interface defines what is required in an implementing class so that different ID managers can be used with the same core persistency code.
| Method Summary | |
|---|---|
long |
getNextID(SandUpdateMessage msg)
Return the next available uniqueID for this message class. |
void |
init(DataManagerNode dm)
Set up for work. |
void |
notifyImport(SandPersistMessage spm)
Allow bulk import operations to notify the counter when writing an instance directly. |
void |
remapIDs(long oldID,
SandUpdateMessage msg,
SandUpdateMessage[] remaps)
Walk through the remap messages specified and change any oldID references to the new ID. |
| Method Detail |
|---|
void init(DataManagerNode dm)
throws PersisterException
PersisterException
long getNextID(SandUpdateMessage msg)
throws PersisterException
PersisterException
void remapIDs(long oldID,
SandUpdateMessage msg,
SandUpdateMessage[] remaps)
throws PersisterException
PersisterException
void notifyImport(SandPersistMessage spm)
throws PersisterException
PersisterException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||