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 TypeMethodDescriptionvoid
void
close()
static HdfsOutputStream
createOutputStream
(String hdfsPath, org.apache.camel.component.hdfs.HdfsInfoFactory hdfsInfoFactory) long
long
long
getOut()
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
append
-
getNumOfWrittenBytes
public long getNumOfWrittenBytes() -
getNumOfWrittenMessages
public long getNumOfWrittenMessages() -
getLastAccess
public long getLastAccess() -
getActualPath
-
isBusy
-
getOut
-