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)
           
 
Method Summary
 long getBlockSize()
           
 int getBytesPerChecksum()
           
 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)
Method Detail

getBlockSize

public long getBlockSize()

getBytesPerChecksum

public int getBytesPerChecksum()

getWritePacketSize

public int getWritePacketSize()

getReplication

public short getReplication()

getFileBufferSize

public int getFileBufferSize()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.