public class GridServiceProxy<T> extends Object implements Serializable
Service class proxies.| Constructor and Description |
|---|
GridServiceProxy(ClusterGroup prj,
String name,
Class<? super T> svc,
boolean sticky,
long timeout,
GridKernalContext ctx,
@Nullable Supplier<Map<String,Object>> callAttrsProvider,
boolean keepBinary) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invokeMethod(Method mtd,
Object[] args,
@Nullable Map<String,Object> callAttrs)
Invoke the method.
|
public GridServiceProxy(ClusterGroup prj, String name, Class<? super T> svc, boolean sticky, long timeout, GridKernalContext ctx, @Nullable @Nullable Supplier<Map<String,Object>> callAttrsProvider, boolean keepBinary)
prj - Grid projection.name - Service name.svc - Service type class.sticky - Whether multi-node request should be done.timeout - Service availability wait timeout. Cannot be negative.ctx - Context.callAttrsProvider - Service call context attributes provider.keepBinary - True if results should be in binary form.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023