类的使用
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 ByteBufferPoolServer. createSafeBufferPool(LongAdder createCounter, LongAdder cycleCounter, int bufferPoolSize)参数类型为ByteBufferPool的org.redkale.net中的方法 修饰符和类型 方法 说明 static AsyncGroupAsyncGroup. create(String threadNameFormat, ExecutorService workExecutor, ByteBufferPool safeBufferPool)protected AsyncIOThreadAsyncIOGroup. createAsyncIOThread(ThreadGroup g, String name, int index, int threads, ExecutorService workExecutor, ByteBufferPool safeBufferPool)protected AsyncIOThreadAsyncIOGroup. 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 ByteBufferPoolHttpServer. createSafeBufferPool(LongAdder createCounter, LongAdder cycleCounter, int bufferPoolSize) -
org.redkale.net.sncp中ByteBufferPool的使用
返回ByteBufferPool的org.redkale.net.sncp中的方法 修饰符和类型 方法 说明 protected ByteBufferPoolSncpServer. createSafeBufferPool(LongAdder createCounter, LongAdder cycleCounter, int bufferPoolSize) -
org.redkale.util中ByteBufferPool的使用
返回ByteBufferPool的org.redkale.util中的方法 修饰符和类型 方法 说明 static ByteBufferPoolByteBufferPool. createSafePool(int bufferCapacity)static ByteBufferPoolByteBufferPool. createSafePool(int max, int bufferCapacity)static ByteBufferPoolByteBufferPool. createSafePool(LongAdder creatCounter, LongAdder cycleCounter, int max, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(int max, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(Thread unsafeThread, int max, ByteBufferPool safePool)static ByteBufferPoolByteBufferPool. createUnsafePool(LongAdder creatCounter, LongAdder cycleCounter, int max, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(ByteBufferPool parent, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(ByteBufferPool parent, int max, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(ByteBufferPool parent, LongAdder creatCounter, LongAdder cycleCounter, int max, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(ByteBufferPool parent, LongAdder creatCounter, LongAdder cycleCounter, Thread unsafeThread, int max, int bufferCapacity)参数类型为ByteBufferPool的org.redkale.util中的方法 修饰符和类型 方法 说明 static ByteBufferPoolByteBufferPool. createUnsafePool(Thread unsafeThread, int max, ByteBufferPool safePool)static ByteBufferPoolByteBufferPool. createUnsafePool(ByteBufferPool parent, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(ByteBufferPool parent, int max, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(ByteBufferPool parent, LongAdder creatCounter, LongAdder cycleCounter, int max, int bufferCapacity)static ByteBufferPoolByteBufferPool. createUnsafePool(ByteBufferPool parent, LongAdder creatCounter, LongAdder cycleCounter, Thread unsafeThread, int max, int bufferCapacity)
-