docs: @Override
      public String addInvalidationListener(String cacheNameWithPrefix, CacheEventListener listener, boolean localOnly) {
          EventService eventService = nodeEngine.getEventService();
          EventRegistration registration;
          if (localOnly) {
              registration = eventService.registerLocalListener(SERVICE_NAME, cacheNameWithPrefix, listener);
          } else {
              registration = eventService.registerListener(SERVICE_NAME, cacheNameWithPrefix, listener);
          }
          return registration.getId();
      }