ivandasch commented on a change in pull request #9510:
URL: https://github.com/apache/ignite/pull/9510#discussion_r747556931
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/IgniteServicesImpl.java
##########
@@ -374,8 +376,34 @@ public IgniteServicesImpl(GridKernalContext ctx,
ClusterGroupAdapter prj, boolea
}
/** {@inheritDoc} */
- @Override public <T> T serviceProxy(final String name, final Class<? super
T> svcItf, final boolean sticky,
- final long timeout) throws IgniteException {
+ @Override public <T> T serviceProxy(
+ final String name,
+ final Class<? super T> svcItf,
+ final boolean sticky,
+ final long timeout
+ ) throws IgniteException {
+ return (T) serviceProxy(name, svcItf, sticky,
(Supplier<ServiceCallContext>)null, timeout);
+ }
+
+ /** {@inheritDoc} */
+ @Override public <T> T serviceProxy(
+ final String name,
+ final Class<? super T> svcItf,
+ final boolean sticky,
+ @Nullable ServiceCallContext callCtx,
+ final long timeout
+ ) throws IgniteException {
+ return (T) serviceProxy(name, svcItf, sticky, callCtx != null ?
callCtx::copy : null, timeout);
Review comment:
And the same
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]