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.
|
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).
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).
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.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024