static class HRegion.WriteState extends Object
Modifier and Type | Field and Description |
---|---|
(package private) AtomicInteger |
compacting |
(package private) boolean |
flushing |
(package private) boolean |
flushRequested |
(package private) static long |
HEAP_SIZE |
(package private) boolean |
readOnly |
(package private) boolean |
readsEnabled |
(package private) boolean |
writesEnabled |
Constructor and Description |
---|
WriteState() |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
isFlushRequested() |
(package private) boolean |
isReadOnly() |
(package private) void |
setReadOnly(boolean onOff)
Set flags that make this region read-only.
|
(package private) void |
setReadsEnabled(boolean readsEnabled) |
volatile boolean flushing
volatile boolean flushRequested
AtomicInteger compacting
volatile boolean writesEnabled
volatile boolean readOnly
volatile boolean readsEnabled
static final long HEAP_SIZE
WriteState()
void setReadOnly(boolean onOff)
onOff
- flip value for region r/o settingboolean isReadOnly()
boolean isFlushRequested()
void setReadsEnabled(boolean readsEnabled)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.