Class GridFile.Metadata

java.lang.Object
org.infinispan.io.GridFile.Metadata
All Implemented Interfaces:
Externalizable, Serializable
Enclosing class:
GridFile

public static class GridFile.Metadata extends Object implements Externalizable
See Also:
  • Field Details

  • Constructor Details

    • Metadata

      public Metadata()
    • Metadata

      public Metadata(int length, long modificationTime, int chunkSize, byte flags)
  • Method Details

    • getLength

      public int getLength()
    • setLength

      public void setLength(int length)
    • getModificationTime

      public long getModificationTime()
    • setModificationTime

      public void setModificationTime(long modificationTime)
    • getChunkSize

      public int getChunkSize()
    • isFile

      public boolean isFile()
    • isDirectory

      public boolean isDirectory()
    • toString

      public String toString()
    • writeExternal

      public void writeExternal(ObjectOutput out) throws IOException
      Throws:
      IOException
    • readExternal

      public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
      Throws:
      IOException
      ClassNotFoundException