1 4 package com.tc.objectserver.impl; 5 6 public class ObjectManagerConfig { 7 8 private final long gcThreadSleepTime; 9 private boolean doGC; 10 private final boolean verboseGC; 11 private final boolean paranoid; 12 private final int deleteBatchSize; 13 14 public ObjectManagerConfig(long gcThreadSleepTime, boolean doGC, boolean verboseGC, boolean paranoid, int deleteBatchSize) { 15 this.gcThreadSleepTime = gcThreadSleepTime; 16 this.doGC = doGC; 17 this.verboseGC = verboseGC; 18 this.paranoid = paranoid; 19 this.deleteBatchSize = deleteBatchSize; 20 } 21 22 public boolean paranoid() { 23 return paranoid; 24 } 25 26 public boolean doGC() { 27 return doGC; 28 } 29 30 public long gcThreadSleepTime() { 31 return gcThreadSleepTime; 32 } 33 34 public boolean verboseGC() { 35 return verboseGC; 36 } 37 38 public int getDeleteBatchSize() { 39 return deleteBatchSize; 40 } 41 42 } 43 | Popular Tags |