org.mpisws.p2p.transport.peerreview.evidence
Class EvidenceTransferProtocolImpl.CacheInfo
java.lang.Object
org.mpisws.p2p.transport.peerreview.evidence.EvidenceTransferProtocolImpl.CacheInfo
- Enclosing class:
- EvidenceTransferProtocolImpl<Handle extends RawSerializable,Identifier extends RawSerializable>
public class EvidenceTransferProtocolImpl.CacheInfo
- extends Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvidenceTransferProtocolImpl.CacheInfo
public EvidenceTransferProtocolImpl.CacheInfo(Identifier subject)
updateWitnesses
public void updateWitnesses(Collection<Handle> witnesses)
isValid
public boolean isValid()
Copyright © 2010. All Rights Reserved.