/** * Should only be used for testing purposes */ public HRegion() { this.tableDir = null; this.blockingMemStoreSize = 0L; this.conf = null; this.rowLockWaitDuration = DEFAULT_ROWLOCK_WAIT_DURATION; this.rsServices = null; this.baseConf = null; this.fs = null; this.timestampSlop = HConstants.LATEST_TIMESTAMP; this.memstoreFlushSize = 0L; this.log = null; this.regiondir = null; this.regionInfo = null; this.htableDescriptor = null; this.threadWakeFrequency = 0L; this.coprocessorHost = null; this.scannerReadPoints = new ConcurrentHashMap<RegionScanner, Long>(); this.opMetrics = new OperationMetrics(); this.maxBusyWaitDuration = 2 * HConstants.DEFAULT_HBASE_RPC_TIMEOUT; this.busyWaitDuration = DEFAULT_BUSY_WAIT_DURATION; this.maxBusyWaitMultiplier = 2; this.deferredLogSyncDisabled = false; }
/** * Should only be used for testing purposes */ public HRegion(){ this.tableDir = null; this.blockingMemStoreSize = 0L; this.conf = null; this.rowLockWaitDuration = DEFAULT_ROWLOCK_WAIT_DURATION; this.rsServices = null; this.baseConf = null; this.fs = null; this.timestampSlop = HConstants.LATEST_TIMESTAMP; this.memstoreFlushSize = 0L; this.log = null; this.regiondir = null; this.regionInfo = null; this.htableDescriptor = null; this.threadWakeFrequency = 0L; this.coprocessorHost = null; this.scannerReadPoints = new ConcurrentHashMap<RegionScanner, Long>(); this.opMetrics = new OperationMetrics(); this.maxBusyWaitDuration = 2 * HConstants.DEFAULT_HBASE_RPC_TIMEOUT; this.busyWaitDuration = DEFAULT_BUSY_WAIT_DURATION; this.maxBusyWaitMultiplier = 2; this.deferredLogSyncDisabled = false; }