Package org.apache.hadoop.ipc
Class RpcWritable.Buffer
java.lang.Object
org.apache.hadoop.ipc.RpcWritable
org.apache.hadoop.ipc.RpcWritable.Buffer
- All Implemented Interfaces:
Writable
- Enclosing class:
- RpcWritable
adapter to allow decoding of writables and protobufs from a byte buffer.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.ipc.RpcWritable
RpcWritable.Buffer -
Method Summary
Modifier and TypeMethodDescription<T> TgetValue(T value) <T> TnewInstance(Class<T> valueClass, Configuration conf) intstatic RpcWritable.Bufferwrap(ByteBuffer bb) Methods inherited from class org.apache.hadoop.ipc.RpcWritable
readFields, write
-
Method Details
-
wrap
-
newInstance
- Throws:
IOException
-
getValue
- Throws:
IOException
-
remaining
public int remaining()
-