public static class RangeStreamer.AllowedSourcesFilter extends java.lang.Object implements RangeStreamer.SourceFilter
| Constructor and Description |
|---|
AllowedSourcesFilter(java.util.Set<InetAddressAndPort> allowedSources) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Replica replica) |
java.lang.String |
message(Replica replica) |
public AllowedSourcesFilter(java.util.Set<InetAddressAndPort> allowedSources)
public boolean apply(Replica replica)
apply in interface RangeStreamer.SourceFilterpublic java.lang.String message(Replica replica)
message in interface RangeStreamer.SourceFilterCopyright © 2009-2022 The Apache Software Foundation