|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.nutch.ndfs.FSResults
The result of an NFS IPC call.
Field Summary | |
Writable |
first
|
byte |
op
|
Writable |
second
|
Constructor Summary | |
FSResults()
|
|
FSResults(byte op)
|
|
FSResults(byte op,
Writable first)
|
|
FSResults(byte op,
Writable first,
Writable second)
|
Method Summary | |
void |
readFields(DataInput in)
Reads the fields of this object from in . |
boolean |
success()
Whether the call worked. |
boolean |
tryagain()
Whether the client should give it another shot |
void |
write(DataOutput out)
Writes the fields of this object to out . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public byte op
public Writable first
public Writable second
Constructor Detail |
public FSResults()
public FSResults(byte op)
public FSResults(byte op, Writable first)
public FSResults(byte op, Writable first, Writable second)
Method Detail |
public boolean success()
public boolean tryagain()
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
IOException
public void readFields(DataInput in) throws IOException
Writable
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields
in interface Writable
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |