docs: public static CacheEntryView<Data, Data> createEntryView(Data key, Data value, Data expiryPolicy, CacheRecord record,
                                                               CacheEntryViewType cacheEntryViewType) {
          if (cacheEntryViewType == null) {
              throw new IllegalArgumentException("Empty cache entry view type");
          }
          switch (cacheEntryViewType) {
              case DEFAULT:
                  return createDefaultEntryView(key, value, expiryPolicy, record);
              case LAZY:
                  return createLazyEntryView(key, value, expiryPolicy, record);
              default:
                  throw new IllegalArgumentException("Invalid cache entry view type: " + cacheEntryViewType);
          }
      }