public class ViewService extends AbstractService
The ViewService
is composed of and manages ViewEndpoint
s.
Service.EndpointFactory
endpointStates
Constructor and Description |
---|
ViewService(java.lang.String hostname,
java.lang.String bucket,
java.lang.String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new
ViewService . |
Modifier and Type | Method and Description |
---|---|
ServiceType |
type()
Returns the type for the given
Service . |
connect, disconnect, logIdent, mapping, send
isState, state, states, transitionState
public ViewService(java.lang.String hostname, java.lang.String bucket, java.lang.String password, int port, CoreEnvironment env, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Creates a new ViewService
.
hostname
- the hostname of the service.bucket
- the name of the bucket.password
- the password of the bucket.port
- the port of the service.env
- the shared environment.responseBuffer
- the shared response buffer.public ServiceType type()
Service
Returns the type for the given Service
.