| Constructor | Description |
|---|---|
FsServerDefaults() |
|
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType) |
|
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri) |
|
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri,
byte storagepolicy) |
|
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri,
byte storagepolicy,
boolean snapshotTrashRootEnabled) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getBlockSize() |
|
int |
getBytesPerChecksum() |
|
DataChecksum.Type |
getChecksumType() |
|
byte |
getDefaultStoragePolicyId() |
|
boolean |
getEncryptDataTransfer() |
|
int |
getFileBufferSize() |
|
java.lang.String |
getKeyProviderUri() |
|
short |
getReplication() |
|
boolean |
getSnapshotTrashRootEnabled() |
|
long |
getTrashInterval() |
|
int |
getWritePacketSize() |
|
void |
readFields(java.io.DataInput in) |
Deserialize the fields of this object from
in. |
void |
write(java.io.DataOutput out) |
Serialize the fields of this object to
out. |
public FsServerDefaults()
public FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType)
public FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri)
public FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri,
byte storagepolicy)
public FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri,
byte storagepolicy,
boolean snapshotTrashRootEnabled)
public long getBlockSize()
public int getBytesPerChecksum()
public int getWritePacketSize()
public short getReplication()
public int getFileBufferSize()
public boolean getEncryptDataTransfer()
public long getTrashInterval()
public DataChecksum.Type getChecksumType()
public java.lang.String getKeyProviderUri()
public byte getDefaultStoragePolicyId()
public boolean getSnapshotTrashRootEnabled()
@Private
public void write(java.io.DataOutput out)
throws java.io.IOException
Writableout.@Private
public void readFields(java.io.DataInput in)
throws java.io.IOException
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.java.io.IOException - any other problem for readFields.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.