// ***
Object value = new String[]{"ABC", "EFG", "123", "890", "QWERTY"};
PushTask task = new PushTask(value, objectCount, threadCount, bacthSize, "in-pool");
InvocationService rc = (InvocationService) CacheFactory.getService("event-remote-control-service");
Set members = rc.getInfo().getServiceMembers();
members.remove(CacheFactory.getCluster().getLocalMember());
System.out.println("Start test");
long startTimestamp = System.nanoTime();
rc.execute(task, members, new InvocationObserver() {
@Override
public void memberLeft(Member member) {
// do nothing
}