public static HandlesStreamInput cachedHandlesCompressed(Compressor compressor, StreamInput in)
     throws IOException {
   Entry entry = instance();
   entry.handles.reset(compressor.streamInput(in));
   return entry.handles;
 }
 public static StreamInput compressed(Compressor compressor, StreamInput in) throws IOException {
   return compressor.streamInput(in);
 }