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