code: public BatchOptions bufferLimit(final int bufferLimit) {
      BatchOptions clone = getClone();
      clone.bufferLimit = bufferLimit;
      return clone;
    }
docs: The client maintains a buffer for failed writes so that the writes will be retried later on. This may
  help to overcome temporary network problems or InfluxDB load spikes.
  When the buffer is full and new points are written, oldest entries in the buffer are lost.
  
  To disable this feature set buffer limit to a value smaller than {@link BatchOptions#getActions}
  
  @param bufferLimit maximum number of points stored in the retry buffer
  @return the BatchOptions instance to be able to use it in a fluent manner.