Class NfsFsInfo

java.lang.Object
com.emc.ecs.nfsclient.nfs.NfsFsInfo

public class NfsFsInfo extends Object
Holder for nonvolatile file system state information and general information about the NFS version 3 protocol server implementation, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    The preferred size of a READDIR request.
    long
    The maximum size of a file on the file system.
    long
    A bit mask of file system properties.
    long
    The maximum size in bytes of a READ request supported by the server.
    long
    The suggested multiple for the size of a READ request.
    long
    The preferred size of a READ request.
    The server time granularity.
    long
    The maximum size of a WRITE request supported by the server.
    long
    The suggested multiple for the size of a WRITE request.
    long
    The preferred size of a WRITE request.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Unmarshalls volatile file system state information, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • rtmax

      public long rtmax
      The maximum size in bytes of a READ request supported by the server. Any READ with a number greater than rtmax will result in a short read of rtmax bytes or less.
    • rtpref

      public long rtpref
      The preferred size of a READ request. This should be the same as rtmax unless there is a clear benefit in performance or efficiency.
    • rtmult

      public long rtmult
      The suggested multiple for the size of a READ request.
    • wtmax

      public long wtmax
      The maximum size of a WRITE request supported by the server. In general, the client is limited by wtmax since there is no guarantee that a server can handle a larger write. Any WRITE with a count greater than wtmax will result in a short write of at most wtmax bytes.
    • wtpref

      public long wtpref
      The preferred size of a WRITE request. This should be the same as wtmax unless there is a clear benefit in performance or efficiency.
    • wtmult

      public long wtmult
      The suggested multiple for the size of a WRITE request.
    • dtpref

      public long dtpref
      The preferred size of a READDIR request.
    • maxfilesize

      public long maxfilesize
      The maximum size of a file on the file system.
    • time_delta

      public NfsTime time_delta
      The server time granularity. When setting a file time using SETATTR, the server guarantees only to preserve times to this accuracy. If this is {0, 1}, the server can support nanosecond times, {0, 1000000} denotes millisecond precision, and {1, 0} indicates that times are accurate only to the nearest second.
    • properties

      public long properties
      A bit mask of file system properties. The following values are defined:
      FSF_LINK = 0x0001
          If this bit is 1 (TRUE), the file system supports
          hard links.
      FSF_SYMLINK = 0x0002
          If this bit is 1 (TRUE), the file system supports
          symbolic links.
      FSF_HOMOGENEOUS = 0x0008
          If this bit is 1 (TRUE), the information returned by
          PATHCONF is identical for every file and directory
          in the file system. If it is 0 (FALSE), the client
          should retrieve PATHCONF information for each file
          and directory as required.
      FSF_CANSETTIME = 0x0010
          If this bit is 1 (TRUE), the server will set the
          times for a file via SETATTR if requested (to the
          accuracy indicated by time_delta). If it is 0
          (FALSE), the server cannot set times as requested.
      
  • Constructor Details

    • NfsFsInfo

      public NfsFsInfo(Xdr xdr)
      Unmarshalls volatile file system state information, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
  • Method Details