code: @VisibleForTesting
      Value getValue(final Key key, boolean useReadOnlyCache) {
          Value payload = null;
          try {
              if (useReadOnlyCache) {
                  final Value currentPayload = readOnlyCacheMap.get(key);
                  if (currentPayload != null) {
                      payload = currentPayload;
                  } else {
                      payload = readWriteCacheMap.get(key);
                      readOnlyCacheMap.put(key, payload);
                  }
              } else {
                  payload = readWriteCacheMap.get(key);
              }
          } catch (Throwable t) {
              logger.error("Cannot get value for key : {}", key, t);
          }
          return payload;
      }
docs: Get the payload in both compressed and uncompressed form.