org.apache.hadoop.hdfs.server.protocol
Class KeyUpdateCommand

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.protocol.ServerCommand
      extended by org.apache.hadoop.hdfs.server.protocol.DatanodeCommand
          extended by org.apache.hadoop.hdfs.server.protocol.KeyUpdateCommand
All Implemented Interfaces:
org.apache.hadoop.io.Writable

@InterfaceAudience.Private
@InterfaceStability.Evolving
public class KeyUpdateCommand
extends DatanodeCommand


Field Summary
 
Fields inherited from class org.apache.hadoop.hdfs.server.protocol.DatanodeCommand
FINALIZE, REGISTER
 
Constructor Summary
KeyUpdateCommand(ExportedAccessKeys keys)
           
 
Method Summary
 ExportedAccessKeys getExportedKeys()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.hadoop.hdfs.server.protocol.ServerCommand
getAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyUpdateCommand

public KeyUpdateCommand(ExportedAccessKeys keys)
Method Detail

getExportedKeys

public ExportedAccessKeys getExportedKeys()

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Overrides:
write in class ServerCommand
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Overrides:
readFields in class ServerCommand
Throws:
IOException


Copyright © 2009 The Apache Software Foundation