Uses of Enum Class
org.apache.hadoop.hbase.io.FileChangeWatcher.State
Packages that use FileChangeWatcher.State
-
Uses of FileChangeWatcher.State in org.apache.hadoop.hbase.io
Fields in org.apache.hadoop.hbase.io declared as FileChangeWatcher.StateMethods in org.apache.hadoop.hbase.io that return FileChangeWatcher.StateModifier and TypeMethodDescriptionprivate FileChangeWatcher.StateFileChangeWatcher.getState()Returns the currentFileChangeWatcher.State.static FileChangeWatcher.StateReturns the enum constant of this class with the specified name.static FileChangeWatcher.State[]FileChangeWatcher.State.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.hbase.io with parameters of type FileChangeWatcher.StateModifier and TypeMethodDescriptionprivate booleanFileChangeWatcher.compareAndSetState(FileChangeWatcher.State[] expectedStates, FileChangeWatcher.State update) Atomically sets the state toupdateif and only if the state is currently one ofexpectedStates.private booleanFileChangeWatcher.compareAndSetState(FileChangeWatcher.State expected, FileChangeWatcher.State update) Atomically sets the state toupdateif and only if the state is currentlyexpected.private voidFileChangeWatcher.setState(FileChangeWatcher.State newState) Sets the state tonewState.(package private) voidFileChangeWatcher.waitForState(FileChangeWatcher.State desiredState) Blocks until the current state becomesdesiredState.