org.apache.hadoop.fs
Class FsServerDefaults

java.lang.Object
  extended by 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)
           
 
Method Summary
 long getBlockSize()
           
 int getBytesPerChecksum()
           
 org.apache.hadoop.util.DataChecksum.Type getChecksumType()
           
 boolean getEncryptDataTransfer()
           
 int getFileBufferSize()
           
 short getReplication()
           
 long getTrashInterval()
           
 int getWritePacketSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.