ostore.cache
Class CacheInsertMessage

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

public class CacheInsertMessage
extends Object
implements QueueElementIF

Version:
$Id: CacheInsertMessage.java,v 1.5 2004/03/23 03:04:57 hweather Exp $ Request to insert a block, evicting things if necessary
Author:
Larry Tung

Field Summary
 int cacheType
           
 int requestId
           
 
Constructor Summary
CacheInsertMessage()
           
CacheInsertMessage(CacheableIdentity id, Cacheable block, boolean pin, int requestId)
           
 
Method Summary
 Cacheable getBlock()
           
 CacheableIdentity getID()
           
 boolean shouldPin()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

requestId

public int requestId

cacheType

public int cacheType
Constructor Detail

CacheInsertMessage

public CacheInsertMessage()

CacheInsertMessage

public CacheInsertMessage(CacheableIdentity id,
                          Cacheable block,
                          boolean pin,
                          int requestId)
Method Detail

getID

public CacheableIdentity getID()

getBlock

public Cacheable getBlock()

shouldPin

public boolean shouldPin()

toString

public String toString()
Overrides:
toString in class Object