Class ScriptMetadata

  • All Implemented Interfaces:
    org.infinispan.metadata.Metadata

    @ProtoTypeId(4801)
    public class ScriptMetadata
    extends Object
    implements org.infinispan.metadata.Metadata
    ScriptMetadata. Holds meta information about a script obtained either implicitly by the script name and extension, or explicitly by its header. See the "Script metadata" chapter in the User Guide for the syntax and format.
    Since:
    7.2
    Author:
    Tristan Tarrant
    • Method Detail

      • name

        @ProtoField(number=1)
        public String name()
      • extension

        @ProtoField(number=3)
        public String extension()
      • parameters

        @ProtoField(number=4)
        public Set<String> parameters()
      • dataType

        @ProtoField(number=5)
        public org.infinispan.commons.dataconversion.MediaType dataType()
      • lifespan

        public long lifespan()
        Specified by:
        lifespan in interface org.infinispan.metadata.Metadata
      • maxIdle

        public long maxIdle()
        Specified by:
        maxIdle in interface org.infinispan.metadata.Metadata
      • version

        public org.infinispan.container.versioning.EntryVersion version()
        Specified by:
        version in interface org.infinispan.metadata.Metadata
      • builder

        public ScriptMetadata.Builder builder()
        Specified by:
        builder in interface org.infinispan.metadata.Metadata