public static class ServiceCall.Call extends Object
ServiceCall
's definition. All ServiceCall
must be created
out of this definition.Constructor and Description |
---|
Call(ClientTransport transport,
ServiceMethodRegistry methodRegistry,
ServiceRegistry serviceRegistry)
Creates new
ServiceCall 's definition. |
Modifier and Type | Method and Description |
---|---|
ServiceCall |
create() |
ServiceCall.Call |
metrics(Metrics metrics) |
ServiceCall.Call |
router(Class<? extends Router> routerType) |
ServiceCall.Call |
router(Router router) |
public Call(ClientTransport transport, ServiceMethodRegistry methodRegistry, ServiceRegistry serviceRegistry)
ServiceCall
's definition.transport
- - transport to be used by ServiceCall
that is created form this
ServiceCall.Call
methodRegistry
- - methodRegistry to be used by ServiceCall
that is created form
this ServiceCall.Call
serviceRegistry
- - serviceRegistry to be used by ServiceCall
that is created
form this ServiceCall.Call
public ServiceCall.Call router(Class<? extends Router> routerType)
public ServiceCall.Call router(Router router)
public ServiceCall.Call metrics(Metrics metrics)
public ServiceCall create()
Copyright © 2015–2018. All rights reserved.