org.infinispan.client.hotrod.impl.CacheEntryConversion Maven / Gradle / Ivy
The newest version!
package org.infinispan.client.hotrod.impl;
import java.util.function.Function;
import org.infinispan.api.common.CacheEntry;
import org.infinispan.client.hotrod.MetadataValue;
import org.infinispan.client.hotrod.impl.cache.CacheEntryImpl;
import org.infinispan.client.hotrod.impl.cache.CacheEntryMetadataImpl;
@SuppressWarnings({"unchecked", "rawtypes"})
final class CacheEntryConversion {
private CacheEntryConversion() { }
private static final Function READ_VALUE = entry -> entry != null
? ((MetadataValue
© 2015 - 2025 Weber Informatics LLC | Privacy Policy