ostore.archive.events
Class RecoalesceBlkCancel

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

public class RecoalesceBlkCancel
extends Object
implements QueueElementIF, QuickSerializable

RecoalesceBlkCancel is an event class indicates that the requests to recoalesce a block from fragments should be cancelled.

USAGE

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

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

Field Summary
 CacheableIdentity blockId
          blockId == GUID of block to recoalesce.
 
Constructor Summary
RecoalesceBlkCancel()
          Constructor: Initializes instance variables to null.
RecoalesceBlkCancel(CacheableIdentity newBlockId)
          Constructor.
RecoalesceBlkCancel(InputBuffer buffer)
          Constructs a RecoalesceBlkCancel 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.

Constructor Detail

RecoalesceBlkCancel

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


RecoalesceBlkCancel

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

Parameters:
newBlockId - = guid of block to recoalesce.

RecoalesceBlkCancel

public RecoalesceBlkCancel(InputBuffer buffer)
                    throws QSException
Constructs a RecoalesceBlkCancel 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