- All Superinterfaces:
Stateful<LifecycleState>
- All Known Implementing Classes:
AbstractDynamicService
, AbstractLazyService
, AbstractOnDemandService
, AbstractPoolingService
, AnalyticsService
, ConfigService
, KeyValueService
, OldAnalyticsService
, OldKeyValueService
, OldQueryService
, OldSearchService
, OldViewService
, PooledService
, QueryService
, SearchService
, ViewService
public interface Service
extends Stateful<LifecycleState>
- Since:
- 1.0
- Author:
- Michael Nitschinger
-
Nested Class Summary
Nested Classes
Modifier and Type |
Interface |
Description |
static interface |
Service.EndpointFactory |
A helper factory which generates endpoints.
|
-
Method Summary
-
Method Details
-
send
- Parameters:
request
- the request to send.
-
mapping
Returns the mapping for the given
Service
.
- Returns:
- the mapping.
-
type
Returns the type for the given
Service
.
- Returns:
- the type.
-
connect
- Returns:
- the states of the
Service
after the connect process for all enabled Endpoint
s.
-
disconnect
- Returns:
- the states of the
Service
after the disconnect process for all enabled Endpoint
s.
-
diagnostics
Returns endpoint health information for all endpoints this service is currently associated with.