Package com.couchbase.client.core.util
Interface Stateful<S>
- All Known Implementing Classes:
AnalyticsEndpoint,AnalyticsService,BackupEndpoint,BackupService,BaseEndpoint,CompositeStateful,EventingEndpoint,EventingService,KeyValueEndpoint,KeyValueService,ManagerEndpoint,ManagerService,Node,QueryEndpoint,QueryService,SearchEndpoint,SearchService,SingleStateful,ViewEndpoint,ViewService
public interface Stateful<S>
Common interface for stateful components.
-
Method Summary
-
Method Details
-
state
S state()Returns the current state of the stateful component. -
states
Returns a stream of states for this component as they change.
-