|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.cache.CacheBlockRequestMessage
Field Summary | |
---|---|
int |
cacheType
|
int |
requestId
|
Constructor Summary | |
---|---|
CacheBlockRequestMessage(CacheableIdentity id,
boolean useNetwork,
boolean useDisk,
SecureHash aguid,
int request_id)
|
|
CacheBlockRequestMessage(CacheableIdentity id,
boolean useNetwork,
int requestId)
ask the cache for a handle to the block with id |
|
CacheBlockRequestMessage(CacheableIdentity id,
boolean useNetwork,
SecureHash aguid,
int request_id)
|
|
CacheBlockRequestMessage(CacheableIdentity id,
int requestId)
ask the cache for a handle to the block with id |
|
CacheBlockRequestMessage(CacheMissException cme,
boolean useNetwork,
boolean useDisk,
SecureHash aguid,
int request_id)
|
|
CacheBlockRequestMessage(CacheMissException cme,
boolean useNetwork,
int requestId)
|
|
CacheBlockRequestMessage(CacheMissException cme,
boolean useNetwork,
SecureHash aguid,
int request_id)
|
|
CacheBlockRequestMessage(CacheMissException cme,
int requestId)
|
Method Summary | |
---|---|
SecureHash |
getAguid()
getAguid returns A-GUID of the object that the block belongs. |
CacheableIdentity |
getID()
|
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. |
void |
setAguid(SecureHash aguid)
setAguid sets A-GUID of the object that the block belongs. |
void |
setID(CacheableIdentity id)
set the CacheableIdentity id |
void |
setUseDisk(boolean useDisk)
setUseDisk returns true if cache should automatically go to disk. |
void |
setUseNetwork(boolean useNetwork)
setUseNetwork returns true if cache should automatically go to network. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int requestId
public int cacheType
Constructor Detail |
public CacheBlockRequestMessage(CacheableIdentity id, int requestId)
requestId
- name of stage making the requestpublic CacheBlockRequestMessage(CacheMissException cme, int requestId)
public CacheBlockRequestMessage(CacheableIdentity id, boolean useNetwork, int requestId)
requestId
- name of stage making the requestpublic CacheBlockRequestMessage(CacheMissException cme, boolean useNetwork, int requestId)
public CacheBlockRequestMessage(CacheableIdentity id, boolean useNetwork, SecureHash aguid, int request_id)
public CacheBlockRequestMessage(CacheMissException cme, boolean useNetwork, SecureHash aguid, int request_id)
public CacheBlockRequestMessage(CacheableIdentity id, boolean useNetwork, boolean useDisk, SecureHash aguid, int request_id)
public CacheBlockRequestMessage(CacheMissException cme, boolean useNetwork, boolean useDisk, SecureHash aguid, int request_id)
Method Detail |
public void setID(CacheableIdentity id)
public CacheableIdentity getID()
public boolean getUseNetwork()
public void setUseNetwork(boolean useNetwork)
useNetwork
- =
true if cache should automatically go to network, false otherwise.public boolean getUseDisk()
public void setUseDisk(boolean useDisk)
useDisk
- =
true if cache should automatically go to disk, false otherwise.public SecureHash getAguid()
public void setAguid(SecureHash aguid)
aguid
- =
A-GUID of the object that the block belongs.public int getRequestId()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |