| Package | Description |
|---|---|
| org.apache.hadoop.hdfs | |
| org.apache.hadoop.hdfs.client |
This package provides the administrative APIs for HDFS.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DFSOutputStream.hsync(java.util.EnumSet<HdfsDataOutputStream.SyncFlag> syncFlags) |
The expected semantics is all data have flushed out to all replicas
and all replicas have done posix fsync equivalent - ie the OS has
flushed it to the disk device (but the disk may have it in its cache).
|
void |
DFSStripedOutputStream.hsync(java.util.EnumSet<HdfsDataOutputStream.SyncFlag> syncFlags) |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsDataOutputStream.SyncFlag |
HdfsDataOutputStream.SyncFlag.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HdfsDataOutputStream.SyncFlag[] |
HdfsDataOutputStream.SyncFlag.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
HdfsDataOutputStream.hsync(java.util.EnumSet<HdfsDataOutputStream.SyncFlag> syncFlags) |
Sync buffered data to DataNodes (flush to disk devices).
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.