executeOnKeys(keys,processor) implemented on the client side