protected class TunnelPeerSelector.Excluder extends ExcluderBase
_reasons, s| Constructor and Description |
|---|
Excluder(boolean isInbound,
boolean isExploratory)Automatically adds selectPeersInTooManyTunnels(), unless i2np.allowLocal. |
Excluder(boolean isInbound,
boolean isExploratory,
Set<Hash> toAdd)Does not add selectPeersInTooManyTunnels(). |
| Modifier and Type | Method and Description |
|---|---|
boolean | contains(Object o)Automatically check if peer is allowed
and add the Hash to the set if not. |
(package private) String | formatByReasonWithPeers()Format excluded peers grouped by reason, sorted by hash within each group. |
add, addAll, clear, containsAll, equals, getReasonsSummary, hashCode, isEmpty, iterator, recordExclusion, remove, removeAll, retainAll, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitspliteratorparallelStream, removeIf, streampublic Excluder(boolean isInbound,
boolean isExploratory)public boolean contains(Object o)
ExcluderBasecontains in interface Collection<Hash>contains in interface Set<Hash>contains in class ExcluderBaseo - a HashString formatByReasonWithPeers()