class GenericTransportBuffer implements TransportBuffer {

  @Override
  public boolean isEmpty() {
    return batchSize == 0;
  }

  public  GenericTransportBuffer(long maxBatchSize, boolean useCompression,
      TransportSerializer serializer);

}