|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for stateless back-end storage peers.
Field Summary | |
static java.lang.String |
TRAY
|
Method Summary | |
boolean |
checkSetUp()
make sure the backing storage is set up correctly |
void |
delete(java.io.Serializable id)
Remove everything about this id from the Tray. |
Set |
getAllIdentifiersInTray()
Get a Set containing all the identifiers in this Tray. |
void |
insertNew(Freezable object)
Stick a new Freezable into the database. |
boolean |
isAbsent(java.io.Serializable id)
For this tray only, is the id not represented by data? In most cases, this is simply !isPresent(id). |
boolean |
isPresent(java.io.Serializable id)
For this tray only, is the tray ready for data about this id? |
void |
setUp()
Set up the backing storage |
void |
tearDown()
clean up the backing storage |
void |
updateOld(Freezable object)
Update an old Freezable in the database. |
void |
validate(java.io.Serializable id,
InvalidFrozenMap ifm)
Validates identifier. |
void |
validateAll(InvalidFrozenMap ifm,
Caster caster)
Validates all the identifiers in the Caster. |
Field Detail |
public static final java.lang.String TRAY
Method Detail |
public boolean isPresent(java.io.Serializable id)
public boolean isAbsent(java.io.Serializable id)
public void insertNew(Freezable object)
public void updateOld(Freezable object)
public void delete(java.io.Serializable id)
A recursive method.
public void validate(java.io.Serializable id, InvalidFrozenMap ifm)
public void validateAll(InvalidFrozenMap ifm, Caster caster)
public Set getAllIdentifiersInTray()
public boolean checkSetUp()
PersistenceFailureException
public void setUp()
PersistenceFailureException
public void tearDown()
PersistenceFailureException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |