code: private Object putToRecordStore(Data dataKey, Data dataValue) {
          if (hasMapListener) {
              return recordStore.put(dataKey, dataValue, DEFAULT_TTL, DEFAULT_MAX_IDLE);
          }
          recordStore.set(dataKey, dataValue, DEFAULT_TTL, DEFAULT_MAX_IDLE);
          return null;
      }
docs: The method recordStore.put() tries to fetch the old value from the MapStore,
  which can lead to a serious performance degradation if loading from MapStore is expensive.
  We prevent this by calling recordStore.set() if no map listeners are registered.