public interface ClientServices
Modifier and Type | Method and Description |
---|---|
ClientClusterGroup |
clusterGroup()
Gets the cluster group to which this
ClientServices instance belongs. |
ClientServiceDescriptor |
serviceDescriptor(String name)
Gets metadata about deployed services in the grid.
|
Collection<ClientServiceDescriptor> |
serviceDescriptors()
Gets metadata about all deployed services in the grid.
|
<T> T |
serviceProxy(String name,
Class<? super T> svcItf)
Gets a remote handle on the service.
|
<T> T |
serviceProxy(String name,
Class<? super T> svcItf,
long timeout)
Gets a remote handle on the service with timeout.
|
<T> T |
serviceProxy(String name,
Class<? super T> svcItf,
ServiceCallContext callCtx)
Gets a remote handle on the service with the specified caller context.
|
<T> T |
serviceProxy(String name,
Class<? super T> svcItf,
ServiceCallContext callCtx,
long timeout)
Gets a remote handle on the service with the specified caller context and timeout.
|
ClientClusterGroup clusterGroup()
ClientServices
instance belongs.ClientServices
instance belongs.<T> T serviceProxy(String name, Class<? super T> svcItf)
Note: There are no guarantees that each method invocation for the same proxy will always contact the same remote service (on the same remote node).
T
- Service type.name
- Service name.svcItf
- Interface for the service.<T> T serviceProxy(String name, Class<? super T> svcItf, long timeout)
Note: There are no guarantees that each method invocation for the same proxy will always contact the same remote service (on the same remote node).
T
- Service type.name
- Service name.svcItf
- Interface for the service.timeout
- If greater than 0 created proxy will wait for service availability only specified time,
and will limit remote service invocation time.Collection<ClientServiceDescriptor> serviceDescriptors()
ClientServiceDescriptor serviceDescriptor(String name)
name
- Service name.<T> T serviceProxy(String name, Class<? super T> svcItf, ServiceCallContext callCtx)
Note: There are no guarantees that each method invocation for the same proxy will always contact the same remote service (on the same remote node).
T
- Service type.name
- Service name.svcItf
- Interface for the service.callCtx
- Service call context.ServiceCallContext
<T> T serviceProxy(String name, Class<? super T> svcItf, ServiceCallContext callCtx, long timeout)
Note: There are no guarantees that each method invocation for the same proxy will always contact the same remote service (on the same remote node).
T
- Service type.name
- Service name.svcItf
- Interface for the service.callCtx
- Service call context.timeout
- If greater than 0 created proxy will wait for service availability only specified time,
and will limit remote service invocation time.ServiceCallContext
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023