org.apache.hadoop.nfs.nfs3.request
Class SetAttr3

java.lang.Object
  extended by org.apache.hadoop.nfs.nfs3.request.SetAttr3

public class SetAttr3
extends Object

SetAttr3 contains the file attributes that can be set from the client. The fields are the same as the similarly named fields in the NFS3Attributes structure.


Nested Class Summary
static class SetAttr3.SetAttrField
           
 
Field Summary
static int TIME_DONT_CHANGE
           
static int TIME_SET_TO_CLIENT_TIME
           
static int TIME_SET_TO_SERVER_TIME
           
 
Constructor Summary
SetAttr3()
           
 
Method Summary
 void deserialize(XDR xdr)
           
 NfsTime getAtime()
           
 int getGid()
           
 int getMode()
           
 NfsTime getMtime()
           
 long getSize()
           
 int getUid()
           
 EnumSet<SetAttr3.SetAttrField> getUpdateFields()
           
 void serialize(XDR xdr)
           
 void setGid(int gid)
           
 void setUpdateFields(EnumSet<SetAttr3.SetAttrField> updateFields)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIME_DONT_CHANGE

public static final int TIME_DONT_CHANGE
See Also:
Constant Field Values

TIME_SET_TO_SERVER_TIME

public static final int TIME_SET_TO_SERVER_TIME
See Also:
Constant Field Values

TIME_SET_TO_CLIENT_TIME

public static final int TIME_SET_TO_CLIENT_TIME
See Also:
Constant Field Values
Constructor Detail

SetAttr3

public SetAttr3()
Method Detail

getMode

public int getMode()

getUid

public int getUid()

getGid

public int getGid()

setGid

public void setGid(int gid)

getSize

public long getSize()

getAtime

public NfsTime getAtime()

getMtime

public NfsTime getMtime()

getUpdateFields

public EnumSet<SetAttr3.SetAttrField> getUpdateFields()

setUpdateFields

public void setUpdateFields(EnumSet<SetAttr3.SetAttrField> updateFields)

serialize

public void serialize(XDR xdr)

deserialize

public void deserialize(XDR xdr)


Copyright © 2009 The Apache Software Foundation