@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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readFields, write
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 © 2018 Apache Software Foundation. All rights reserved.