Class MetadataUtils

java.lang.Object
org.infinispan.server.hotrod.MetadataUtils

public final class MetadataUtils extends Object
Utility class in hotrod server with methods handling cache entries metadata
Since:
9.2
Author:
Katia Aresti, karesti@redhat.com
  • Method Details

    • 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)