ostore.cache
Class CachePinnedRequest.Local

java.lang.Object
  |
  +--ostore.cache.CachePinnedRequest.Local
All Implemented Interfaces:
QueueElementIF
Enclosing class:
CachePinnedRequest

public static class CachePinnedRequest.Local
extends Object
implements QueueElementIF

A simple class to store CachePinnedRequest's to send to another local stage.


Field Summary
 int cacheType
           
 int requestId
           
 
Constructor Summary
CachePinnedRequest.Local(CachePinnedRequest req)
          Constructs a new CachePinnedRequest.Local.
 
Method Summary
 SecureHash getAguid()
          getAguid returns A-GUID of the object that the block belongs.
 CacheableIdentity getID()
          return the CacheableIdentity id
 int getRequestId()
           
 boolean getUseDisk()
          getUseDisk returns true if cache should automatically go to disk.
 boolean getUseNetwork()
          getUseNetwork returns true if cache should automatically go to network.
 String toString()
          Returns a human-readable representation of this CachePinnedRequest.Local.
 
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

CachePinnedRequest.Local

public CachePinnedRequest.Local(CachePinnedRequest req)
Constructs a new CachePinnedRequest.Local.

Parameters:
req - original CachePinnedRequest
Method Detail

getID

public CacheableIdentity getID()
return the CacheableIdentity id


getUseNetwork

public boolean getUseNetwork()
getUseNetwork returns true if cache should automatically go to network.

Returns:
true if cache should automatically go to network, false otherwise.

getUseDisk

public boolean getUseDisk()
getUseDisk returns true if cache should automatically go to disk.

Returns:
true if cache should automatically go to disk, false otherwise.

getAguid

public SecureHash getAguid()
getAguid returns A-GUID of the object that the block belongs.

Returns:
A-GUID of the object that the block belongs.

getRequestId

public int getRequestId()

toString

public String toString()
Returns a human-readable representation of this CachePinnedRequest.Local.

Overrides:
toString in class Object