001// Licensed under the MIT license. See LICENSE file in the project root for full license information. 002 003package de.bytefish.pgbulkinsert.configuration; 004 005public class Configuration implements IConfiguration { 006 007 private final int bufferSize; 008 009 public Configuration() { 010 this(65536); 011 } 012 013 public Configuration(int bufferSize) { 014 this.bufferSize = bufferSize; 015 } 016 017 @Override 018 public int getBufferSize() { 019 return bufferSize; 020 } 021}