Uses of Class
org.miaixz.bus.socket.accord.AioClient
Packages that use AioClient
-
Uses of AioClient in org.miaixz.bus.socket.accord
Methods in org.miaixz.bus.socket.accord that return AioClientModifier and TypeMethodDescription绑定本机地址、端口用于连接远程服务AioClient.connectTimeout(int timeout) 客户端连接超时时间,单位:毫秒AioClient.disableLowMemory()禁用低代码模式AioClient.setBufferPagePool(BufferPagePool bufferPool) 设置内存池。 通过该方法设置的内存池,在AioClient执行shutdown时不会触发内存池的释放。 该方法适用于多个AioServer、AioClient共享内存池的场景。 在启用内存池的情况下会有更好的性能表现AioClient.setBufferPagePool(BufferPagePool readBufferPool, BufferPagePool writeBufferPool) <V> AioClientAioClient.setOption(SocketOption<V> socketOption, V value) 设置Socket的TCP参数配置AioClient.setReadBufferSize(int size) 设置读缓存区大小AioClient.setWriteBuffer(int bufferSize, int bufferCapacity) 设置输出缓冲区容量