类的使用
org.redkale.util.ByteBufferPool
-
使用ByteBufferPool的程序包 程序包 说明 org.redkale.net 网络TCP/UDP基础服务包org.redkale.net.http HTTP协议包,提供HTTP协议服务器org.redkale.net.sncp SNCP协议包,提供SNCP协议服务器org.redkale.util Redkale工具包 -
-
org.redkale.net中ByteBufferPool的使用
返回ByteBufferPool的org.redkale.net中的方法 修饰符和类型 方法 说明 protected abstract ByteBufferPool
Server. createSafeBufferPool(LongAdder createCounter, LongAdder cycleCounter, int bufferPoolSize)
参数类型为ByteBufferPool的org.redkale.net中的方法 修饰符和类型 方法 说明 static AsyncGroup
AsyncGroup. create(String threadNameFormat, ExecutorService workExecutor, ByteBufferPool safeBufferPool)
protected AsyncIOThread
AsyncIOGroup. createAsyncIOThread(ThreadGroup g, String name, int index, int threads, ExecutorService workExecutor, ByteBufferPool safeBufferPool)
protected AsyncIOThread
AsyncIOGroup. createConnectIOThread(ThreadGroup g, String name, int index, int threads, ExecutorService workExecutor, ByteBufferPool safeBufferPool)
参数类型为ByteBufferPool的org.redkale.net中的构造器 构造器 说明 AsyncIOGroup(String threadNameFormat, ExecutorService workExecutor, ByteBufferPool safeBufferPool)
AsyncIOThread(ThreadGroup g, String name, int index, int threads, ExecutorService workExecutor, ByteBufferPool safeBufferPool)
-
org.redkale.net.http中ByteBufferPool的使用
返回ByteBufferPool的org.redkale.net.http中的方法 修饰符和类型 方法 说明 protected ByteBufferPool
HttpServer. createSafeBufferPool(LongAdder createCounter, LongAdder cycleCounter, int bufferPoolSize)
-
org.redkale.net.sncp中ByteBufferPool的使用
返回ByteBufferPool的org.redkale.net.sncp中的方法 修饰符和类型 方法 说明 protected ByteBufferPool
SncpServer. createSafeBufferPool(LongAdder createCounter, LongAdder cycleCounter, int bufferPoolSize)
-
org.redkale.util中ByteBufferPool的使用
返回ByteBufferPool的org.redkale.util中的方法 修饰符和类型 方法 说明 static ByteBufferPool
ByteBufferPool. createSafePool(int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createSafePool(int max, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createSafePool(LongAdder creatCounter, LongAdder cycleCounter, int max, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(int max, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(Thread unsafeThread, int max, ByteBufferPool safePool)
static ByteBufferPool
ByteBufferPool. createUnsafePool(LongAdder creatCounter, LongAdder cycleCounter, int max, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(ByteBufferPool parent, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(ByteBufferPool parent, int max, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(ByteBufferPool parent, LongAdder creatCounter, LongAdder cycleCounter, int max, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(ByteBufferPool parent, LongAdder creatCounter, LongAdder cycleCounter, Thread unsafeThread, int max, int bufferCapacity)
参数类型为ByteBufferPool的org.redkale.util中的方法 修饰符和类型 方法 说明 static ByteBufferPool
ByteBufferPool. createUnsafePool(Thread unsafeThread, int max, ByteBufferPool safePool)
static ByteBufferPool
ByteBufferPool. createUnsafePool(ByteBufferPool parent, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(ByteBufferPool parent, int max, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(ByteBufferPool parent, LongAdder creatCounter, LongAdder cycleCounter, int max, int bufferCapacity)
static ByteBufferPool
ByteBufferPool. createUnsafePool(ByteBufferPool parent, LongAdder creatCounter, LongAdder cycleCounter, Thread unsafeThread, int max, int bufferCapacity)
-