@InterfaceAudience.Private public interface INativeHandler extends NativeDataTarget, NativeDataSource
Modifier and Type | Method and Description |
---|---|
ReadWriteBuffer |
call(Command command,
ReadWriteBuffer parameter)
call command to downstream
|
void |
close()
close the native handler
|
long |
getNativeHandler() |
void |
init(org.apache.hadoop.conf.Configuration conf)
init the native handler
|
String |
name() |
void |
setCommandDispatcher(CommandDispatcher handler) |
finishSendData, getOutputBuffer, sendData
getInputBuffer, loadData, setDataReceiver
String name()
long getNativeHandler()
void init(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
void close() throws IOException
IOException
ReadWriteBuffer call(Command command, ReadWriteBuffer parameter) throws IOException
IOException
void setCommandDispatcher(CommandDispatcher handler)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.