public interface PeerManagerFacade extends Service
| Modifier and Type | Method and Description |
|---|---|
int | countPeersByCapability(char capability)Count of peers with the given capability. |
Set<Hash> | getPeersByCapability(char capability)All peers with the given capability. |
PeerTestJob | getPeerTestJob()The peer test job for testing peers. |
void | removeCapabilities(Hash peer)Remove all capabilities from a peer. |
void | setCapabilities(Hash peer,
String caps)The capabilities for a peer. |
renderStatusHTML, restart, shutdown, startupint countPeersByCapability(char capability)
capability - the capabilitySet<Hash> getPeersByCapability(char capability)
capability - the capabilityPeerTestJob getPeerTestJob()
void removeCapabilities(Hash peer)
peer - the peer