org.apache.hadoop.hdfs.security.token.block
Class ExportedBlockKeys
java.lang.Object
org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
@InterfaceAudience.Private
public class ExportedBlockKeys
- extends Object
- implements org.apache.hadoop.io.Writable
Object for passing block keys
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DUMMY_KEYS
public static final ExportedBlockKeys DUMMY_KEYS
ExportedBlockKeys
public ExportedBlockKeys()
isBlockTokenEnabled
public boolean isBlockTokenEnabled()
getKeyUpdateInterval
public long getKeyUpdateInterval()
getTokenLifetime
public long getTokenLifetime()
getCurrentKey
public BlockKey getCurrentKey()
getAllKeys
public BlockKey[] getAllKeys()
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation