org.apache.hadoop.nfs
Class NfsTime
java.lang.Object
org.apache.hadoop.nfs.NfsTime
public class NfsTime
- extends Object
Class that encapsulates time.
NfsTime
public NfsTime(int seconds,
int nseconds)
NfsTime
public NfsTime(NfsTime other)
NfsTime
public NfsTime(long milliseconds)
getSeconds
public int getSeconds()
getNseconds
public int getNseconds()
getMilliSeconds
public long getMilliSeconds()
- Get the total time in milliseconds
serialize
public void serialize(XDR xdr)
deserialize
public static NfsTime deserialize(XDR xdr)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 The Apache Software Foundation