@InterfaceAudience.Public @InterfaceStability.Evolving public class FsServerDefaults extends Object implements Writable
Constructor and Description |
---|
FsServerDefaults() |
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
org.apache.hadoop.util.DataChecksum.Type checksumType) |
Modifier and Type | Method and Description |
---|---|
long |
getBlockSize() |
int |
getBytesPerChecksum() |
org.apache.hadoop.util.DataChecksum.Type |
getChecksumType() |
int |
getFileBufferSize() |
short |
getReplication() |
int |
getWritePacketSize() |
public FsServerDefaults()
public FsServerDefaults(long blockSize, int bytesPerChecksum, int writePacketSize, short replication, int fileBufferSize, org.apache.hadoop.util.DataChecksum.Type checksumType)
public long getBlockSize()
public int getBytesPerChecksum()
public int getWritePacketSize()
public short getReplication()
public int getFileBufferSize()
public org.apache.hadoop.util.DataChecksum.Type getChecksumType()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.