Uses of Enum Class
org.apache.hadoop.fs.impl.prefetch.BufferData.State
Packages that use BufferData.State
Package
Description
block caching for use in object store clients.
-
Uses of BufferData.State in org.apache.hadoop.fs.impl.prefetch
Methods in org.apache.hadoop.fs.impl.prefetch that return BufferData.StateModifier and TypeMethodDescriptionBufferData.getState()Gets the state of this block.static BufferData.StateReturns the enum constant of this class with the specified name.static BufferData.State[]BufferData.State.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.fs.impl.prefetch with parameters of type BufferData.StateModifier and TypeMethodDescriptionvoidBufferData.setReady(BufferData.State... expectedCurrentState) Marks the completion of reading data into the buffer.booleanBufferData.stateEqualsOneOf(BufferData.State... states) voidBufferData.throwIfStateIncorrect(BufferData.State... states) Helper that asserts the current state is one of the expected values.voidBufferData.updateState(BufferData.State newState, BufferData.State... expectedCurrentState) Updates the current state to the specified value.