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, org.apache.hadoop.util.DataChecksum.Type checksumType)
           
 
Method Summary
 long getBlockSize()
           
 int getBytesPerChecksum()
           
 org.apache.hadoop.util.DataChecksum.Type getChecksumType()
           
 int getFileBufferSize()
           
 short getReplication()
           
 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,
                        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()

getChecksumType

public org.apache.hadoop.util.DataChecksum.Type getChecksumType()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.