|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.update.UpdateRequest
An UpdateRequest is a message used for internal
communication between the InnerRing and the
UpdateStage. After the InnerRing has
ordered the update and performed the necessary security checks,
it passes the update to the UpdateStage.
In addition to the actual update, the UpdateRequest
also contains a GuidVersionMap which provides a
mapping from Aguid to version identifier (either Vhash or Vguid)
for all objects which may be accessed by the update. The
UpdateStage uses this map to ensure that it is
applying the update to the correct version of the data object.
| Constructor Summary | |
|---|---|
UpdateRequest(Update update,
SecureHash digest,
GuidVersionMap map,
QSDate vcreate_time)
Create a new UpdateRequest. |
|
| Method Summary | |
|---|---|
GuidVersionMap |
getMap()
Returns the mapping from Aguid to version identifier (either Vhash or Vguid) for all objects that may be accessed by the update. |
Update |
getUpdate()
Returns the update to be executed. |
SecureHash |
getUpdateDigest()
Returns the digest of the update |
QSDate |
getVCreateTime()
Returns the version create time. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UpdateRequest(Update update,
SecureHash digest,
GuidVersionMap map,
QSDate vcreate_time)
UpdateRequest.
update - the update to be executeddigest - the digest of the updatemap - a map from Aguid to version identifier for all objects
that may be accessed by the updatevcreate_time - the time the new version as created, as dictated by the
'general' of the inner ring| Method Detail |
public QSDate getVCreateTime()
public Update getUpdate()
public SecureHash getUpdateDigest()
public GuidVersionMap getMap()
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||