Uses of Enum
org.apache.hadoop.hbase.io.FileChangeWatcher.State
-
Uses of FileChangeWatcher.State in org.apache.hadoop.hbase.io
Modifier and TypeMethodDescriptionFileChangeWatcher.getState()
Returns the currentFileChangeWatcher.State
.static FileChangeWatcher.State
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 TypeMethodDescriptionprivate boolean
FileChangeWatcher.compareAndSetState
(FileChangeWatcher.State[] expectedStates, FileChangeWatcher.State update) Atomically sets the state toupdate
if and only if the state is currently one ofexpectedStates
.private boolean
FileChangeWatcher.compareAndSetState
(FileChangeWatcher.State expected, FileChangeWatcher.State update) Atomically sets the state toupdate
if and only if the state is currentlyexpected
.private void
FileChangeWatcher.setState
(FileChangeWatcher.State newState) Sets the state tonewState
.(package private) void
FileChangeWatcher.waitForState
(FileChangeWatcher.State desiredState) Blocks until the current state becomesdesiredState
.