ostore.archive.events
Class ReconstructBlkCancel

java.lang.Object
  |
  +--ostore.archive.events.ReconstructBlkCancel
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class ReconstructBlkCancel
extends Object
implements QueueElementIF, QuickSerializable

ReconstructBlkCancel is an event class indicates that the requests to pull a block out of the archive should be cancelled.

USAGE

The required field are blockId (CacheableIdentity of block to cancel).

Version:
$Id: ReconstructBlkCancel.java,v 1.11 2002/07/22 20:54:52 srhea Exp $
Author:
Hakim Weatherspoon
See Also:
RecoalesceBlkCancel, RecoalesceBlkReq, ReconstructBlkReq, ReconstructBlkResp, RequestorStage, RecoalesceBlkStage

Field Summary
 CacheableIdentity blockId
          blockId == GUID of block to recoalesce; includes,type of block recoalescing.
 
Constructor Summary
ReconstructBlkCancel()
          Constructor: Initializes instance variables to null.
ReconstructBlkCancel(CacheableIdentity newBlockId)
          Constructor.
ReconstructBlkCancel(InputBuffer buffer)
          Constructs a ReconstructBlkCancel from its serialized form.
 
Method Summary
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

blockId

public CacheableIdentity blockId
blockId == GUID of block to recoalesce; includes,type of block recoalescing.

Constructor Detail

ReconstructBlkCancel

public ReconstructBlkCancel()
Constructor: Initializes instance variables to null.


ReconstructBlkCancel

public ReconstructBlkCancel(CacheableIdentity newBlockId)
Constructor. Initializes the data in this ReconstructBlkCancel.

Parameters:
newBlockId - == GUID of block to recoalesce and type of block recoalescing.

ReconstructBlkCancel

public ReconstructBlkCancel(InputBuffer buffer)
                     throws QSException
Constructs a ReconstructBlkCancel from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object