ostore.cache
Class CacheBlockReplyMessage

java.lang.Object
  |
  +--ostore.cache.CacheBlockReplyMessage
All Implemented Interfaces:
QueueElementIF

public class CacheBlockReplyMessage
extends Object
implements QueueElementIF

Version:
$Id: CacheBlockReplyMessage.java,v 1.7 2002/07/22 20:54:52 srhea Exp $ Returns a handle to the request given for a specific block. If the request failed, the handle will be null.
Author:
Larry Tung

Field Summary
 int requestId
          id of stage requesting CacheBlockRequest Message
 
Method Summary
 Cacheable getBlock()
          return the cacheable requested
 CacheableHandle getHandle()
          return the CacheableHandle for the Cacheable requested
 CacheableIdentity getID()
          return the CacheableIdentity stored in the CacheBlockReplyMessage
 int getRequestId()
          id of stage requesting the block
 String toString()
          String with CacheBlockReplyMessage and the id associated with the reply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

requestId

public int requestId
id of stage requesting CacheBlockRequest Message

Method Detail

getID

public CacheableIdentity getID()
return the CacheableIdentity stored in the CacheBlockReplyMessage


getHandle

public CacheableHandle getHandle()
return the CacheableHandle for the Cacheable requested


getBlock

public Cacheable getBlock()
return the cacheable requested


getRequestId

public int getRequestId()
id of stage requesting the block


toString

public String toString()
String with CacheBlockReplyMessage and the id associated with the reply

Overrides:
toString in class Object