类 HeapChannelBufferFactory
- java.lang.Object
-
- com.alibaba.dubbo.remoting.buffer.HeapChannelBufferFactory
-
- 所有已实现的接口:
ChannelBufferFactory
public class HeapChannelBufferFactory extends Object implements ChannelBufferFactory
-
-
构造器概要
构造器 构造器 说明 HeapChannelBufferFactory()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 ChannelBuffer
getBuffer(byte[] array, int offset, int length)
ChannelBuffer
getBuffer(int capacity)
ChannelBuffer
getBuffer(ByteBuffer nioBuffer)
static ChannelBufferFactory
getInstance()
-
-
-
方法详细资料
-
getInstance
public static ChannelBufferFactory getInstance()
-
getBuffer
public ChannelBuffer getBuffer(int capacity)
- 指定者:
getBuffer
在接口中ChannelBufferFactory
-
getBuffer
public ChannelBuffer getBuffer(byte[] array, int offset, int length)
- 指定者:
getBuffer
在接口中ChannelBufferFactory
-
getBuffer
public ChannelBuffer getBuffer(ByteBuffer nioBuffer)
- 指定者:
getBuffer
在接口中ChannelBufferFactory
-
-