Package org.apache.camel.component.hdfs
Class HdfsOutputStream
java.lang.Object
org.apache.camel.component.hdfs.HdfsOutputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()static HdfsOutputStreamcreateOutputStream(String hdfsPath, org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory) longlonglonggetOut()isBusy()
-
Constructor Details
-
HdfsOutputStream
protected HdfsOutputStream()
-
-
Method Details
-
createOutputStream
public static HdfsOutputStream createOutputStream(String hdfsPath, org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory) throws IOException - Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
append
-
getNumOfWrittenBytes
public long getNumOfWrittenBytes() -
getNumOfWrittenMessages
public long getNumOfWrittenMessages() -
getLastAccess
public long getLastAccess() -
getActualPath
-
isBusy
-
getOut
-