Class GridServiceProxy<T>
- java.lang.Object
-
- org.apache.ignite.internal.processors.service.GridServiceProxy<T>
-
- All Implemented Interfaces:
Serializable
public class GridServiceProxy<T> extends Object implements Serializable
Wrapper for makingServiceclass proxies.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridServiceProxy(ClusterGroup prj, String name, Class<? super T> svc, boolean sticky, long timeout, GridKernalContext ctx, @Nullable Supplier<Map<String,Object>> callAttrsProvider, boolean keepBinary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectinvokeMethod(Method mtd, Object[] args, @Nullable Map<String,Object> callAttrs)Invoke the method.
-
-
-
Constructor Detail
-
GridServiceProxy
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)
- Parameters:
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-Trueif results should be in binary form.
-
-