Class NfsPreOpAttributes
java.lang.Object
com.emc.ecs.nfsclient.nfs.NfsPreOpAttributes
These pre-operation attributes are part of weak cache consistency data, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
-
Constructor Summary
ConstructorsConstructorDescriptionNfsPreOpAttributes(Xdr xdr) Creates a new structure from the Xdr response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813). -
Method Summary
Modifier and TypeMethodDescriptiongetCTime()Returns the time when the attributes of the file were last changed.getMTime()Returns the time when the file data was last modified.longgetSize()Returns the number of bytes of disk space that the file actually uses (which can be smaller than the size because the file may have holes or it may be larger due to fragmentation).
-
Constructor Details
-
NfsPreOpAttributes
Creates a new structure from the Xdr response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
-
-
Method Details
-
getSize
public long getSize()Returns the number of bytes of disk space that the file actually uses (which can be smaller than the size because the file may have holes or it may be larger due to fragmentation). -
getMTime
Returns the time when the file data was last modified. -
getCTime
Returns the time when the attributes of the file were last changed. Writing to the file changes the ctime in addition to the mtime.
-