HBASE-19531 Remove needless volatile declaration
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
07d20b2d18
commit
5895719420
|
@ -73,7 +73,7 @@ public class BufferedMutatorImpl implements BufferedMutator {
|
||||||
* The {@link ConcurrentLinkedQueue#size()} is NOT a constant-time operation.
|
* The {@link ConcurrentLinkedQueue#size()} is NOT a constant-time operation.
|
||||||
*/
|
*/
|
||||||
private final AtomicInteger undealtMutationCount = new AtomicInteger(0);
|
private final AtomicInteger undealtMutationCount = new AtomicInteger(0);
|
||||||
private volatile long writeBufferSize;
|
private final long writeBufferSize;
|
||||||
private final int maxKeyValueSize;
|
private final int maxKeyValueSize;
|
||||||
private final ExecutorService pool;
|
private final ExecutorService pool;
|
||||||
private final AtomicInteger rpcTimeout;
|
private final AtomicInteger rpcTimeout;
|
||||||
|
|
|
@ -227,7 +227,7 @@ public class HBaseAdmin implements Admin {
|
||||||
|
|
||||||
private ClusterConnection connection;
|
private ClusterConnection connection;
|
||||||
|
|
||||||
private volatile Configuration conf;
|
private final Configuration conf;
|
||||||
private final long pause;
|
private final long pause;
|
||||||
private final int numRetries;
|
private final int numRetries;
|
||||||
private final int syncWaitTimeout;
|
private final int syncWaitTimeout;
|
||||||
|
|
|
@ -51,7 +51,7 @@ import java.util.concurrent.ConcurrentSkipListMap;
|
||||||
public class ZKNamespaceManager extends ZKListener {
|
public class ZKNamespaceManager extends ZKListener {
|
||||||
private static final Log LOG = LogFactory.getLog(ZKNamespaceManager.class);
|
private static final Log LOG = LogFactory.getLog(ZKNamespaceManager.class);
|
||||||
private final String nsZNode;
|
private final String nsZNode;
|
||||||
private volatile NavigableMap<String,NamespaceDescriptor> cache;
|
private final NavigableMap<String,NamespaceDescriptor> cache;
|
||||||
|
|
||||||
public ZKNamespaceManager(ZKWatcher zkw) throws IOException {
|
public ZKNamespaceManager(ZKWatcher zkw) throws IOException {
|
||||||
super(zkw);
|
super(zkw);
|
||||||
|
|
Loading…
Reference in New Issue