public static interface Service.EndpointFactory
A helper factory which generates endpoints.
Modifier and Type | Method and Description |
---|---|
Endpoint |
create(java.lang.String hostname,
java.lang.String bucket,
java.lang.String password,
int port,
CoreEnvironment env,
com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Create a new
Endpoint . |
Endpoint create(java.lang.String hostname, java.lang.String bucket, java.lang.String password, int port, CoreEnvironment env, com.lmax.disruptor.RingBuffer<ResponseEvent> responseBuffer)
Create a new Endpoint
.
hostname
- the hostname of the endpoint.bucket
- the bucket name of the endpoint.password
- the password of the bucket.port
- the port of the endpoint.env
- the shared environment.responseBuffer
- the response buffer for messages.Endpoint
.