Class HRegion.WriteState
java.lang.Object
org.apache.hadoop.hbase.regionserver.HRegion.WriteState
- Enclosing class:
- HRegion
-
Field Summary
Modifier and TypeFieldDescription(package private) AtomicInteger
(package private) boolean
(package private) boolean
(package private) static final long
(package private) boolean
(package private) boolean
(package private) boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) boolean
(package private) boolean
(package private) void
setReadOnly
(boolean onOff) Set flags that make this region read-only.(package private) void
setReadsEnabled
(boolean readsEnabled)
-
Field Details
-
flushing
-
flushRequested
-
compacting
-
writesEnabled
-
readOnly
-
readsEnabled
-
HEAP_SIZE
-
-
Constructor Details
-
WriteState
-
-
Method Details
-
setReadOnly
Set flags that make this region read-only.- Parameters:
onOff
- flip value for region r/o setting
-
isReadOnly
boolean isReadOnly() -
isFlushRequested
boolean isFlushRequested() -
setReadsEnabled
-