@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, sendDatagetInputBuffer, loadData, setDataReceiverString name()
long getNativeHandler()
void init(org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionReadWriteBuffer call(Command command, ReadWriteBuffer parameter) throws IOException
IOExceptionvoid setCommandDispatcher(CommandDispatcher handler)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.