Class EntryMetadata


  • @Immutable
    public abstract class EntryMetadata
    extends Object
    EntryMetadata contains properties associated with an Entry. This is an opaque wrapper for a String metadata value.
    • Method Detail

      • create

        public static EntryMetadata create​(String metadata)
        Creates an EntryMetadata with the given value.
        Parameters:
        metadata - TTL of an Entry.
        Returns:
        an EntryMetadata.
      • getValue

        public abstract String getValue()
        Returns the String value of this EntryMetadata.
        Returns:
        the raw metadata value.