Package | Description |
---|---|
org.apache.hadoop.hbase.io |
Modifier and Type | Field and Description |
---|---|
private FileChangeWatcher.State |
FileChangeWatcher.state |
Modifier and Type | Method and Description |
---|---|
FileChangeWatcher.State |
FileChangeWatcher.getState()
Returns the current
FileChangeWatcher.State . |
static FileChangeWatcher.State |
FileChangeWatcher.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileChangeWatcher.State[] |
FileChangeWatcher.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
FileChangeWatcher.compareAndSetState(FileChangeWatcher.State[] expectedStates,
FileChangeWatcher.State update)
Atomically sets the state to
update if and only if the state is currently one of
expectedStates . |
private boolean |
FileChangeWatcher.compareAndSetState(FileChangeWatcher.State[] expectedStates,
FileChangeWatcher.State update)
Atomically sets the state to
update if and only if the state is currently one of
expectedStates . |
private boolean |
FileChangeWatcher.compareAndSetState(FileChangeWatcher.State expected,
FileChangeWatcher.State update)
Atomically sets the state to
update if and only if the state is currently
expected . |
private void |
FileChangeWatcher.setState(FileChangeWatcher.State newState)
Sets the state to
newState . |
(package private) void |
FileChangeWatcher.waitForState(FileChangeWatcher.State desiredState)
Blocks until the current state becomes
desiredState . |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.