public static class RangeStreamer.SingleDatacenterFilter extends java.lang.Object implements RangeStreamer.ISourceFilter
Constructor and Description |
---|
SingleDatacenterFilter(IEndpointSnitch snitch,
java.lang.String sourceDc) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldInclude(java.net.InetAddress endpoint) |
public SingleDatacenterFilter(IEndpointSnitch snitch, java.lang.String sourceDc)
public boolean shouldInclude(java.net.InetAddress endpoint)
shouldInclude
in interface RangeStreamer.ISourceFilter
Copyright © 2020 The Apache Software Foundation