class DefaultRecordBatch extends AbstractRecordBatch implements MutableRecordBatch {

    public static int incrementSequence(int sequence, int increment) {
        if (sequence > Integer.MAX_VALUE - increment)
            return increment - (Integer.MAX_VALUE - sequence) - 1;
        return sequence + increment;
    }

      DefaultRecordBatch(ByteBuffer buffer);

}