@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,
boolean encryptDataTransfer,
long trashInterval,
org.apache.hadoop.util.DataChecksum.Type checksumType) |
Modifier and Type | Method and Description |
---|---|
long |
getBlockSize() |
int |
getBytesPerChecksum() |
org.apache.hadoop.util.DataChecksum.Type |
getChecksumType() |
boolean |
getEncryptDataTransfer() |
int |
getFileBufferSize() |
short |
getReplication() |
long |
getTrashInterval() |
int |
getWritePacketSize() |
public FsServerDefaults()
public FsServerDefaults(long blockSize, int bytesPerChecksum, int writePacketSize, short replication, int fileBufferSize, boolean encryptDataTransfer, long trashInterval, org.apache.hadoop.util.DataChecksum.Type checksumType)
public long getBlockSize()
public int getBytesPerChecksum()
public int getWritePacketSize()
public short getReplication()
public int getFileBufferSize()
public boolean getEncryptDataTransfer()
public long getTrashInterval()
public org.apache.hadoop.util.DataChecksum.Type getChecksumType()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.