You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladislav Pyatkov (JIRA)" <ji...@apache.org> on 2018/11/01 09:15:01 UTC

[jira] [Created] (IGNITE-10108) Non-static class is passed between cluster nodes

Vladislav Pyatkov created IGNITE-10108:
------------------------------------------

             Summary: Non-static class is passed between cluster nodes
                 Key: IGNITE-10108
                 URL: https://issues.apache.org/jira/browse/IGNITE-10108
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladislav Pyatkov


Need to avoid passing anonymous classes on compute, because this lead to serialize whole test-class context.
By the reason need to refactor that place

{code}

ignite.compute().withTimeout(5_000).broadcastAsync(new IgniteRunnable() {

...

});

{code}

in method \{{GridCommonAbstractTest#manualCacheRebalancing}} into private static nested class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)