Package org.apache.hadoop.hbase.wal
Interface AsyncFSWALProvider.AsyncWriter
- All Superinterfaces:
AutoCloseable
,Closeable
,WALProvider.AsyncWriter
,WALProvider.WriterBase
- All Known Implementing Classes:
AsyncProtobufLogWriter
- Enclosing class:
- AsyncFSWALProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration c, boolean overwritable, long blocksize, StreamSlowMonitor monitor) Methods inherited from interface org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter
append, sync
Methods inherited from interface org.apache.hadoop.hbase.wal.WALProvider.WriterBase
getLength, getSyncedLength
-
Method Details
-
init
void init(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration c, boolean overwritable, long blocksize, StreamSlowMonitor monitor) throws IOException, CommonFSUtils.StreamLacksCapabilityException - Throws:
IOException
- if something goes wrong initializing an output streamCommonFSUtils.StreamLacksCapabilityException
- if the given FileSystem can't provide streams that meet the needs of the given Writer implementation.
-