Package org.infinispan.server.hotrod
Class MetadataUtils
- java.lang.Object
-
- org.infinispan.server.hotrod.MetadataUtils
-
public final class MetadataUtils extends java.lang.ObjectUtility class in hotrod server with methods handling cache entries metadata- Since:
- 9.2
- Author:
- Katia Aresti, karesti@redhat.com
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longextractCreated(CacheEntry ce)static longextractLastUsed(CacheEntry ce)static intextractLifespan(CacheEntry ce)static intextractMaxIdle(CacheEntry ce)static longextractVersion(CacheEntry ce)static voidwriteMetadata(int lifespan, int maxIdle, long created, long lastUsed, long dataVersion, io.netty.buffer.ByteBuf buf)
-
-
-
Method Detail
-
writeMetadata
public static void writeMetadata(int lifespan, int maxIdle, long created, long lastUsed, long dataVersion, io.netty.buffer.ByteBuf buf)
-
extractVersion
public static long extractVersion(CacheEntry ce)
-
extractCreated
public static long extractCreated(CacheEntry ce)
-
extractLastUsed
public static long extractLastUsed(CacheEntry ce)
-
extractLifespan
public static int extractLifespan(CacheEntry ce)
-
extractMaxIdle
public static int extractMaxIdle(CacheEntry ce)
-
-