| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PeerMapChangeListener
This interface can be added to the map, to get notified of peer insertion or removal. This is useful for replication.
| Method Summary | |
|---|---|
 void | 
peerInserted(PeerAddress peerAddress)
This method is called if a peer is added to the map  | 
 void | 
peerRemoved(PeerAddress peerAddress)
This method is called if a peer is removed from the map  | 
 void | 
peerUpdated(PeerAddress peerAddress)
This method is called if a peer is updated.  | 
| Method Detail | 
|---|
void peerInserted(PeerAddress peerAddress)
peerAddress - The peer that has been added.void peerRemoved(PeerAddress peerAddress)
peerAddress - The peer that has been removed and add to the cache.void peerUpdated(PeerAddress peerAddress)
peerAddress - The peer can change its IP and some statistical data
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||