Пример #1
0
 @Override
 public InternalIPv4Range create(List<Bucket> ranges, InternalIPv4Range prototype) {
   return new InternalIPv4Range(
       prototype.name,
       ranges,
       prototype.keyed,
       prototype.pipelineAggregators(),
       prototype.metaData);
 }
Пример #2
0
 @Override
 public InternalIPv4Range readResult(StreamInput in) throws IOException {
   InternalIPv4Range range = new InternalIPv4Range();
   range.readFrom(in);
   return range;
 }