public interface Stateful<S extends Enum>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isState(S state)
Check if the given state is the same as the current one.
|
S |
state()
Returns the current state.
|
Copyright © 2021 Couchbase, Inc.. All rights reserved.