Uses of Class
io.hekate.util.StateGuard.State
-
Packages that use StateGuard.State Package Description io.hekate.util Common helpers and utilities. -
-
Uses of StateGuard.State in io.hekate.util
Methods in io.hekate.util that return StateGuard.State Modifier and Type Method Description static StateGuard.State
StateGuard.State. valueOf(String name)
Returns the enum constant of this type with the specified name.static StateGuard.State[]
StateGuard.State. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.hekate.util with parameters of type StateGuard.State Modifier and Type Method Description void
StateGuard. lockReadWithStateCheck(StateGuard.State state)
Acquires the read lock on this guard and checks its current state.boolean
StateGuard. tryLockReadWithStateCheck(StateGuard.State state)
Tries to acquire the read lock on this guard only if current state is the same with the specified one.
-