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.SourceFilter
public java.lang.String message(Replica replica)
message
in interface RangeStreamer.SourceFilter
Copyright © 2009-2022 The Apache Software Foundation