|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.update.Action | +--ostore.update.ActionExpand
This action truncates a data object. The resulting object is zero bytes in length and all data previously in the object is lost.
Field Summary | |
---|---|
static boolean |
DEBUG
|
Constructor Summary | |
---|---|
ActionExpand(InputBuffer buffer)
|
|
ActionExpand(SecureHash aguid,
long length)
Construct an ActionExpand action. |
Method Summary | |
---|---|
long |
getLength()
getLength returns the length of the ActionExpand . |
Set |
getTargets()
|
void |
perform(GuidVersionMap guid_map,
VersionHandleCache version_cache,
UpdateContinuation continuation,
DataCache cache)
|
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
String |
toString()
Return a representation of this action as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final boolean DEBUG
Constructor Detail |
public ActionExpand(SecureHash aguid, long length)
ActionExpand
action.
aguid
- the Aguid of the target data objectlength
- the length to which the action will expand the data objectpublic ActionExpand(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
serialize
in class Action
buffer
- the output buffer to add the object topublic void perform(GuidVersionMap guid_map, VersionHandleCache version_cache, UpdateContinuation continuation, DataCache cache) throws ostore.update.UpdateException
perform
in class Action
ostore.update.UpdateException
public long getLength()
ActionExpand
.
getLength
in class Action
ActionExpand
public Set getTargets()
getTargets
in class Action
public String toString()
Action
toString
in class Action
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |