01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.objectserver.impl;
05:
06: public class ObjectManagerConfig {
07:
08: private final long gcThreadSleepTime;
09: 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,
15: boolean verboseGC, boolean paranoid, int deleteBatchSize) {
16: this .gcThreadSleepTime = gcThreadSleepTime;
17: this .doGC = doGC;
18: this .verboseGC = verboseGC;
19: this .paranoid = paranoid;
20: this .deleteBatchSize = deleteBatchSize;
21: }
22:
23: public boolean paranoid() {
24: return paranoid;
25: }
26:
27: public boolean doGC() {
28: return doGC;
29: }
30:
31: public long gcThreadSleepTime() {
32: return gcThreadSleepTime;
33: }
34:
35: public boolean verboseGC() {
36: return verboseGC;
37: }
38:
39: public int getDeleteBatchSize() {
40: return deleteBatchSize;
41: }
42:
43: }
|