Class NfsFsInfo
java.lang.Object
com.emc.ecs.nfsclient.nfs.NfsFsInfo
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
FieldsModifier and TypeFieldDescriptionlongThe preferred size of a READDIR request.longThe maximum size of a file on the file system.longA bit mask of file system properties.longThe maximum size in bytes of a READ request supported by the server.longThe suggested multiple for the size of a READ request.longThe preferred size of a READ request.The server time granularity.longThe maximum size of a WRITE request supported by the server.longThe suggested multiple for the size of a WRITE request.longThe preferred size of a WRITE request. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
rtmax
public long rtmaxThe 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 rtprefThe 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 rtmultThe suggested multiple for the size of a READ request. -
wtmax
public long wtmaxThe 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 wtprefThe 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 wtmultThe suggested multiple for the size of a WRITE request. -
dtpref
public long dtprefThe preferred size of a READDIR request. -
maxfilesize
public long maxfilesizeThe maximum size of a file on the file system. -
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 propertiesA 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
Unmarshalls volatile file system state information, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
-
-
Method Details
-
toString
-