HazelcastInstance client = HazelcastClient.newHazelcastClient();
UnDeserializable unDeserializable = new UnDeserializable(1);
IExecutorService executorService = client.getExecutorService("default");
Issue2509Runnable task = new Issue2509Runnable(unDeserializable);
Future<?> future = executorService.submitToMember(task, hz.getCluster().getLocalMember());
future.get();
}
public static class Issue2509Runnable
implements Callable<Integer>, DataSerializable {