|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mpisws.p2p.transport.peerreview.evidence.EvidenceTransferProtocolImpl.CacheInfo
public class EvidenceTransferProtocolImpl.CacheInfo
Since applications like ePOST must communicate to determine the current witness set of a node (which is expensive), we cache witness sets for a while. An entry in this cache can also be half-complete, meaning that an upcall has been made to the application to determine the witness set, but the result has not been received yet.
Constructor Summary | |
---|---|
EvidenceTransferProtocolImpl.CacheInfo(Identifier subject)
|
Method Summary | |
---|---|
boolean |
isValid()
|
void |
updateWitnesses(java.util.Collection<Handle> witnesses)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EvidenceTransferProtocolImpl.CacheInfo(Identifier subject)
Method Detail |
---|
public void updateWitnesses(java.util.Collection<Handle> witnesses)
public boolean isValid()
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |