public void setBoolean(String key, boolean value, int userId) throws RemoteException { invalidateCache(key, userId); mService.setBoolean(key, value, userId); putCache(key, userId, value); }