| 
|||||||||||
| 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 object
public ActionExpand(InputBuffer buffer)
             throws QSException
| Method Detail | 
public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializableserialize in class Actionbuffer - the output buffer to add the object to
public void perform(GuidVersionMap guid_map,
                    VersionHandleCache version_cache,
                    UpdateContinuation continuation,
                    DataCache cache)
             throws ostore.update.UpdateException
perform in class Actionostore.update.UpdateExceptionpublic long getLength()
ActionExpand.
getLength in class ActionActionExpandpublic Set getTargets()
getTargets in class Actionpublic String toString()
Action
toString in class Action
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||