public long getLong(String key, long defaultValue, int userId) throws RemoteException {
   Object value = peekCache(key, userId);
   if (value instanceof Long) {
     return (long) value;
   }
   long result = mService.getLong(key, defaultValue, userId);
   putCache(key, userId, result);
   return result;
 }