org.apache.hadoop.fs
Class FsServerDefaults
java.lang.Object
org.apache.hadoop.fs.FsServerDefaults
- All Implemented Interfaces:
- Writable
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class FsServerDefaults
- extends Object
- implements Writable
Provides server default configuration values to clients.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FsServerDefaults
public FsServerDefaults()
FsServerDefaults
public FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
DataChecksum.Type checksumType)
getBlockSize
public long getBlockSize()
getBytesPerChecksum
public int getBytesPerChecksum()
getWritePacketSize
public int getWritePacketSize()
getReplication
public short getReplication()
getFileBufferSize
public int getFileBufferSize()
getChecksumType
public DataChecksum.Type getChecksumType()
Copyright © 2012 Apache Software Foundation. All Rights Reserved.