Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 java.lang.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.

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

### EvidenceTransferProtocolImpl.CacheInfo

    public EvidenceTransferProtocolImpl.CacheInfo(Identifier subject)

Method Detail

### updateWitnesses

    public void updateWitnesses(java.util.Collection<Handle> witnesses)

### isValid

    public boolean isValid()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.