@@ -0,0 +1,2676 @@
+package com.github.bernd.samsa.cleaner;%0A%0Apublic class CleanerConfigBuilder %7B%0A    public int numThreads;%0A    public long dedupeBufferSize;%0A    public double dedupeBufferLoadFactor;%0A    public int ioBuffersize;%0A    public int maxMessageSize;%0A    public double maxIoBytesPerSecond;%0A    public long backOffMs;%0A    public boolean enableCleaner;%0A    public String hashAlgorithm;%0A%0A    public CleanerConfigBuilder() %7B%0A        numThreads = CleanerConfig.Defaults.NUM_THREADS;%0A        dedupeBufferSize = CleanerConfig.Defaults.DEDUPE_BUFFER_SIZE;%0A        dedupeBufferLoadFactor = CleanerConfig.Defaults.DEDUPE_BUFFER_LOAD_FACTOR;%0A        ioBuffersize = CleanerConfig.Defaults.IO_BUFFER_SIZE;%0A        maxMessageSize = CleanerConfig.Defaults.MAX_MESSAGE_SIZE;%0A        maxIoBytesPerSecond = CleanerConfig.Defaults.MAX_IO_BYTES_PER_SECOND;%0A        backOffMs = CleanerConfig.Defaults.BACK_OFF_MS;%0A        enableCleaner = CleanerConfig.Defaults.ENABLE_CLEANER;%0A        hashAlgorithm = CleanerConfig.Defaults.HASH_ALGORITHM;%0A    %7D%0A%0A    public CleanerConfig build() %7B%0A        return new CleanerConfig(numThreads,%0A                dedupeBufferSize,%0A                dedupeBufferLoadFactor,%0A                ioBuffersize,%0A                maxMessageSize,%0A                maxIoBytesPerSecond,%0A                backOffMs,%0A                enableCleaner,%0A                hashAlgorithm);%0A    %7D%0A%0A    public CleanerConfigBuilder numThreads(int numThreads) %7B%0A        this.numThreads = numThreads;%0A        return this;%0A    %7D%0A%0A    public CleanerConfigBuilder dedupeBufferSize(long dedupeBufferSize) %7B%0A        this.dedupeBufferSize = dedupeBufferSize;%0A        return this;%0A    %7D%0A%0A    public CleanerConfigBuilder dedupeBufferLoadFactor(double dedupeBufferLoadFactor) %7B%0A        this.dedupeBufferLoadFactor = dedupeBufferLoadFactor;%0A        return this;%0A    %7D%0A%0A    public CleanerConfigBuilder ioBuffersize(int ioBuffersize) %7B%0A        this.ioBuffersize = ioBuffersize;%0A        return this;%0A    %7D%0A%0A    public CleanerConfigBuilder maxMessageSize(int maxMessageSize) %7B%0A        this.maxMessageSize = maxMessageSize;%0A        return this;%0A    %7D%0A%0A    public CleanerConfigBuilder maxIoBytesPerSecond(double maxIoBytesPerSecond) %7B%0A        this.maxIoBytesPerSecond = maxIoBytesPerSecond;%0A        return this;%0A    %7D%0A%0A    public CleanerConfigBuilder backOffMs(long backOffMs) %7B%0A        this.backOffMs = backOffMs;%0A        return this;%0A    %7D%0A%0A    public CleanerConfigBuilder enableCleaner(boolean enableCleaner) %7B%0A        this.enableCleaner = enableCleaner;%0A        return this;%0A    %7D%0A%0A    public CleanerConfigBuilder hashAlgorithm(String hashAlgorithm) %7B%0A        this.hashAlgorithm = hashAlgorithm;%0A        return this;%0A    %7D%0A%7D%0A

Add CleanerConfigBuilder.