跳过导航链接
A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractBufferWriter<T> - com.gettyio.core.buffer中的类
流数据统一输出
AbstractBufferWriter() - 类 的构造器com.gettyio.core.buffer.AbstractBufferWriter
 
AbstractInternalLogger - com.gettyio.core.logging中的类
 
AbstractInternalLogger(String) - 类 的构造器com.gettyio.core.logging.AbstractInternalLogger
 
add(SocketChannel) - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
add(T) - 类 中的方法com.gettyio.core.util.FastArrayList
在尾部添加元素
add(int, T) - 类 中的方法com.gettyio.core.util.FastArrayList
 
add(T) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
在尾部添加元素
add(int, T) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
指定位置添加一个元素,如果刚好等于集合长度,在最后添加。
addExclusions(Class, String...) - 类 中的静态方法com.gettyio.core.util.detector.ResourceLeakDetector
 
addFirst(ChannelHandlerAdapter) - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
添加到第一位
addFirst(T) - 类 中的方法com.gettyio.core.util.FastArrayList
添加到数组首位
addFirst(T) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
添加到数组首位
addLast(ChannelHandlerAdapter) - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
添加到最后一位
addLast(T) - 类 中的方法com.gettyio.core.util.FastArrayList
添加最后
addLast(T) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
添加最后
AioBufferWriter - com.gettyio.core.buffer中的类
aio模式下控制数据输出
AioBufferWriter(ChunkPool, Function<AioBufferWriter, Void>, int, int) - 类 的构造器com.gettyio.core.buffer.AioBufferWriter
构造方法
AioChannel - com.gettyio.core.channel中的类
AioChannel.java
AioChannel(AsynchronousSocketChannel, BaseConfig, ReadCompletionHandler, WriteCompletionHandler, ChunkPool, ChannelPipeline) - 类 的构造器com.gettyio.core.channel.AioChannel
 
AioClientStarter - com.gettyio.core.channel.starter中的类
AioClientStarter.java
AioClientStarter(String, int) - 类 的构造器com.gettyio.core.channel.starter.AioClientStarter
简单启动
AioClientStarter(ClientConfig) - 类 的构造器com.gettyio.core.channel.starter.AioClientStarter
配置文件启动
AioServerStarter - com.gettyio.core.channel.starter中的类
AioServerStarter.java
AioServerStarter(int) - 类 的构造器com.gettyio.core.channel.starter.AioServerStarter
简单启动
AioServerStarter(String, int) - 类 的构造器com.gettyio.core.channel.starter.AioServerStarter
指定host启动
AioServerStarter(ServerConfig) - 类 的构造器com.gettyio.core.channel.starter.AioServerStarter
指定配置启动
AioStarter - com.gettyio.core.channel.starter中的类
AioStarter.java
AioStarter() - 类 的构造器com.gettyio.core.channel.starter.AioStarter
 
allocate(int, long) - 类 中的方法com.gettyio.core.buffer.ChunkPool
从空闲池分配给定大小的缓冲区。
allWriteBytesArray() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
获取已写入的数据
apply(AioBufferWriter) - 类 中的方法com.gettyio.core.channel.AioChannel
 
apply(F) - 接口 中的方法com.gettyio.core.function.Function
基于F值返回T
array() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
获取未处理byte[],就是获取原始数组的意思
arrays() - 类 中的方法com.gettyio.core.util.FastArrayList
返回集合的对象地址,修改会影响集合本身
arrays() - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
 
asHex(byte[]) - 类 中的静态方法com.gettyio.core.util.fastmd5.util.MD5
Turns array of bytes into string representing each byte as unsigned hex number.
asHex() - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Returns 32-character hex representation of this objects hash
asynchronousChannelGroup - 类 中的变量com.gettyio.core.channel.starter.AioStarter
aio线程组
AutoByteBuffer - com.gettyio.core.buffer中的类
数组缓存处理类,用于解决需要写入一个未知长度的byte[],如果使用定长数组的话,处理起来相对麻烦,所以引入一个可自动扩容的数组类。
AutoByteBuffer.ByteBufferException - com.gettyio.core.buffer中的异常错误
 
availableMemory() - 类 中的方法com.gettyio.core.buffer.ChunkPool
未分配的和空闲列表中的总空闲内存
awaitTermination(long, TimeUnit) - 类 中的方法com.gettyio.core.util.ThreadPool
请求关闭、发生超时或者当前线程中断 无论哪一个首先发生之后,都将导致阻塞,直到所有任务完成执行。

B

Banner - com.gettyio.core.constant中的类
 
Banner() - 类 的构造器com.gettyio.core.constant.Banner
 
BANNER - 类 中的静态变量com.gettyio.core.constant.Banner
 
Base64 - com.gettyio.core.util中的类
Encodes and decodes to and from Base64 notation.
Base64.InputStream - com.gettyio.core.util中的类
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream - com.gettyio.core.util中的类
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BaseConfig - com.gettyio.core.channel.config中的类
BaseConfig.java
BaseConfig() - 类 的构造器com.gettyio.core.channel.config.BaseConfig
 
beginHandshake() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
beginHandshake() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
beginHandshake(IHandshakeCompletedListener) - 类 中的方法com.gettyio.core.handler.ssl.SslService
开始握手
beginHandshake() - 类 中的方法com.gettyio.core.handler.ssl.SslService
 
BIG_ENDIAN_NATIVE_ORDER - 类 中的静态变量com.gettyio.core.util.PlatformDependent
 
bitMode() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
返回当前VM的位模式(通常是32或64)。
bossThreadNum(int) - 类 中的方法com.gettyio.core.channel.starter.AioServerStarter
设置Boss线程数
bossThreadNum(int) - 类 中的方法com.gettyio.core.channel.starter.NioServerStarter
设置Boss线程数
bossThreadNum - 类 中的变量com.gettyio.core.channel.starter.Starter
Boss线程数,获取cpu核心,核心小于4设置线程为3,大于4设置和cpu核心数一致
bossThreadPool - 类 中的变量com.gettyio.core.channel.starter.Starter
boss线程池
BUFFER_SIZE - 类 中的静态变量com.gettyio.core.buffer.AutoByteBuffer
默认的长度
BufferType - com.gettyio.core.handler.ssl.sslfacade中的枚举
 
BufferUtils - com.gettyio.core.handler.ssl.sslfacade中的类
 
BufferUtils() - 类 的构造器com.gettyio.core.handler.ssl.sslfacade.BufferUtils
 
bufferWriter - 类 中的变量com.gettyio.core.channel.AioChannel
数据输出组建
BytesDecoder - com.gettyio.core.handler.codec.bytes中的类
StringDecoder.java
BytesDecoder() - 类 的构造器com.gettyio.core.handler.codec.bytes.BytesDecoder
 
BytesEncoder - com.gettyio.core.handler.codec.bytes中的类
StringEncoder.java
BytesEncoder() - 类 的构造器com.gettyio.core.handler.codec.bytes.BytesEncoder
 

C

CachedThread - 类 中的静态变量com.gettyio.core.util.ThreadPool
 
cancel() - 接口 中的方法com.gettyio.core.util.timer.Timeout
试图取消 TimerTask 如果任务已经执行或取消,它将直接返回
canEnableTcpNoDelayByDefault() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Returns true 当且仅当默认启用TCP_NODELAY套接字选项没有问题时。
capacity() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
当前容量,当写入数据超过当前容量后会自动扩容
CaseIgnoringComparator - com.gettyio.core.util中的类
忽略大小写的比较器
cause() - 类 中的方法com.gettyio.core.handler.codec.DecoderResult
 
change(int, T) - 类 中的方法com.gettyio.core.util.FastArrayList
在指定位置修改元素,通过索引,修改完成后返回原数据
channel - 类 中的变量com.gettyio.core.channel.AioChannel
通信channel对象
CHANNEL_STATUS_CLOSED - 类 中的静态变量com.gettyio.core.channel.SocketChannel
已关闭
CHANNEL_STATUS_ENABLED - 类 中的静态变量com.gettyio.core.channel.SocketChannel
已开启
channelAdded(SocketChannel) - 接口 中的方法com.gettyio.core.pipeline.ChannelBoundHandler
连接进来
channelAdded(SocketChannel) - 类 中的方法com.gettyio.core.pipeline.ChannelHandlerAdapter
 
channelAdded(SocketChannel) - 接口 中的方法com.gettyio.core.pipeline.in.ChannelInboundHandler
连接
ChannelAllBoundHandlerAdapter - com.gettyio.core.pipeline.all中的类
ChannelAllBoundHandlerAdapter.java
ChannelAllBoundHandlerAdapter() - 类 的构造器com.gettyio.core.pipeline.all.ChannelAllBoundHandlerAdapter
 
channelAttribute - 类 中的变量com.gettyio.core.channel.SocketChannel
用于方便设置随通道传播的属性
ChannelBoundHandler - com.gettyio.core.pipeline中的接口
ChannelBoundHandler.java
ChannelByteBuffer - com.gettyio.core.buffer中的类
通道与待输出缓冲区包装
ChannelByteBuffer(SocketChannel, ByteBuffer) - 类 的构造器com.gettyio.core.buffer.ChannelByteBuffer
 
channelClosed(SocketChannel) - 接口 中的方法com.gettyio.core.pipeline.ChannelBoundHandler
连接关闭
channelClosed(SocketChannel) - 类 中的方法com.gettyio.core.pipeline.ChannelHandlerAdapter
 
channelClosed(SocketChannel) - 接口 中的方法com.gettyio.core.pipeline.in.ChannelInboundHandler
连接关闭
ChannelFutureListener - com.gettyio.core.channel.group中的接口
ChannelFutureListener.java
channelFutureListener - 类 中的变量com.gettyio.core.channel.SocketChannel
关闭监听
ChannelGroup - com.gettyio.core.channel.group中的接口
ChannelGroup.java
ChannelHandlerAdapter - com.gettyio.core.pipeline中的类
ChannelHandlerAdapter.java
ChannelHandlerAdapter() - 类 的构造器com.gettyio.core.pipeline.ChannelHandlerAdapter
 
ChannelInboundHandler - com.gettyio.core.pipeline.in中的接口
ChannelInboundHandler.java
ChannelInboundHandlerAdapter - com.gettyio.core.pipeline.in中的类
ChannelInboundHandlerAdapter.java
ChannelInboundHandlerAdapter() - 类 的构造器com.gettyio.core.pipeline.in.ChannelInboundHandlerAdapter
 
channelInitializer(ChannelPipeline) - 类 中的方法com.gettyio.core.channel.starter.AioClientStarter
设置责任链
channelInitializer(ChannelPipeline) - 类 中的方法com.gettyio.core.channel.starter.AioServerStarter
责任链
channelInitializer(ChannelPipeline) - 类 中的方法com.gettyio.core.channel.starter.NioClientStarter
设置责任链
channelInitializer(ChannelPipeline) - 类 中的方法com.gettyio.core.channel.starter.NioServerStarter
责任链
ChannelInitializer - com.gettyio.core.pipeline中的类
ChannelInitializer.java
ChannelInitializer() - 类 的构造器com.gettyio.core.pipeline.ChannelInitializer
 
ChannelOutboundHandler - com.gettyio.core.pipeline.out中的接口
ChannelOutboundHandler.java
ChannelOutboundHandlerAdapter - com.gettyio.core.pipeline.out中的类
ChannelOutboundHandlerAdapter.java
ChannelOutboundHandlerAdapter() - 类 的构造器com.gettyio.core.pipeline.out.ChannelOutboundHandlerAdapter
 
channelPipeline - 类 中的变量com.gettyio.core.channel.starter.AioStarter
责任链对象
channelPipeline - 类 中的变量com.gettyio.core.channel.starter.NioStarter
责任链对象
ChannelPipeline - com.gettyio.core.pipeline中的接口
ChannelPipeline.java
channelRead(SocketChannel, Object) - 接口 中的方法com.gettyio.core.pipeline.ChannelBoundHandler
消息读取
channelRead(SocketChannel, Object) - 类 中的方法com.gettyio.core.pipeline.ChannelHandlerAdapter
 
channelRead(SocketChannel, Object) - 接口 中的方法com.gettyio.core.pipeline.in.ChannelInboundHandler
消息读取
channelRead(SocketChannel, Object) - 类 中的方法com.gettyio.core.pipeline.in.SimpleChannelInboundHandler
 
channelRead0(SocketChannel, T) - 类 中的方法com.gettyio.core.pipeline.in.SimpleChannelInboundHandler
解码后的消息输出
ChannelState - com.gettyio.core.channel中的枚举
ChannelState.java
channelWrite(SocketChannel, Object) - 接口 中的方法com.gettyio.core.pipeline.ChannelBoundHandler
消息写出
channelWrite(SocketChannel, Object) - 类 中的方法com.gettyio.core.pipeline.ChannelHandlerAdapter
 
channelWrite(SocketChannel, Object) - 接口 中的方法com.gettyio.core.pipeline.out.ChannelOutboundHandler
消息写出
CharsetUtil - com.gettyio.core.util中的类
A utility class that provides various common operations and constants related with Charset and its relevant classes.
checkIncrease(int, T) - 类 中的方法com.gettyio.core.util.FastArrayList
1、复制原数组,并扩容一倍 2、复制原数组,并扩容一倍,并在指定位置插入对象
checkIndexOut(int) - 类 中的方法com.gettyio.core.util.FastArrayList
判断给定索引是否越界
checkIndexOut(int) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
判断给定索引是否越界
checkNonEmpty(T[], String) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
Checks that the given argument is neither null nor empty.
checkNonEmpty(T, String) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
Checks that the given argument is neither null nor empty.
checkNotNull(T, String) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
Checks that the given argument is not null.
checkPositive(int, String) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
检查是否是正数 >0 Checks that the given argument is strictly positive.
checkPositive(long, String) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
Checks that the given argument is strictly positive.
checkPositiveOrZero(int, String) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
Checks that the given argument is positive or zero.
checkPositiveOrZero(long, String) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
Checks that the given argument is positive or zero.
ChunkPool - com.gettyio.core.buffer中的类
ChunkPool.java
ChunkPool(long, Time, boolean) - 类 的构造器com.gettyio.core.buffer.ChunkPool
创建内存池
chunkPool - 类 中的变量com.gettyio.core.channel.loop.NioEventLoop
内存池
chunkPool - 类 中的变量com.gettyio.core.channel.SocketChannel
内存池
chunkPool - 类 中的变量com.gettyio.core.channel.starter.AioStarter
内存池
chunkPool - 类 中的变量com.gettyio.core.channel.starter.NioStarter
内存池
clean() - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
清理责任链
clear() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
清空数据,重置指针
clear() - 类 中的方法com.gettyio.core.buffer.ChunkPool
释放内存池
clear() - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
clear() - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
clear() - 类 中的方法com.gettyio.core.util.FastArrayList
删除所有元素
clear() - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
删除所有元素
ClientAuth - com.gettyio.core.handler.ssl中的类
ClientAuth.java
ClientAuth() - 类 的构造器com.gettyio.core.handler.ssl.ClientAuth
 
clientChunkSize - 类 中的变量com.gettyio.core.channel.config.ClientConfig
客户端最大可用内存池大小上限,默认256M
ClientConfig - com.gettyio.core.channel.config中的类
ClientConfig.java
ClientConfig() - 类 的构造器com.gettyio.core.channel.config.ClientConfig
 
close() - 类 中的方法com.gettyio.core.buffer.AbstractBufferWriter
 
close() - 类 中的方法com.gettyio.core.buffer.AioBufferWriter
 
close() - 类 中的方法com.gettyio.core.buffer.NioBufferWriter
 
close() - 类 中的方法com.gettyio.core.channel.AioChannel
立即关闭会话
close(boolean) - 类 中的方法com.gettyio.core.channel.AioChannel
主动关闭
close() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
close() - 类 中的方法com.gettyio.core.channel.NioChannel
 
close(boolean) - 类 中的方法com.gettyio.core.channel.NioChannel
主动关闭
close() - 类 中的方法com.gettyio.core.channel.SocketChannel
立即关闭会话
close(boolean) - 类 中的方法com.gettyio.core.channel.SocketChannel
主动关闭,标记
close() - 类 中的方法com.gettyio.core.channel.UdpChannel
 
close(boolean) - 类 中的方法com.gettyio.core.channel.UdpChannel
 
close() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
close() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
close() - 类 中的方法com.gettyio.core.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close(T) - 接口 中的方法com.gettyio.core.util.detector.ResourceLeakTracker
Close the leak so that ResourceLeakTracker does not warn about leaked resources.
close() - 类 中的方法com.gettyio.core.util.fastmd5.io.NullOutputStream
 
closeSwitch() - 类 中的方法com.gettyio.core.util.timer.HashedWheelTimer
 
closeSwitch() - 接口 中的方法com.gettyio.core.util.timer.Timer
动态开关关闭 1、轮子每 tick ,只执行过期的定时任务 2、新的 newTimeout 添加的定时任务,添加到格子
CodecException - com.gettyio.core.handler.codec中的异常错误
CodecException.java
CodecException() - 异常错误 的构造器com.gettyio.core.handler.codec.CodecException
 
CodecException(String, Throwable) - 异常错误 的构造器com.gettyio.core.handler.codec.CodecException
 
CodecException(String) - 异常错误 的构造器com.gettyio.core.handler.codec.CodecException
 
CodecException(Throwable) - 异常错误 的构造器com.gettyio.core.handler.codec.CodecException
 
com.gettyio.core - 程序包 com.gettyio.core
 
com.gettyio.core.buffer - 程序包 com.gettyio.core.buffer
 
com.gettyio.core.channel - 程序包 com.gettyio.core.channel
 
com.gettyio.core.channel.config - 程序包 com.gettyio.core.channel.config
 
com.gettyio.core.channel.group - 程序包 com.gettyio.core.channel.group
 
com.gettyio.core.channel.internal - 程序包 com.gettyio.core.channel.internal
 
com.gettyio.core.channel.loop - 程序包 com.gettyio.core.channel.loop
 
com.gettyio.core.channel.starter - 程序包 com.gettyio.core.channel.starter
 
com.gettyio.core.constant - 程序包 com.gettyio.core.constant
 
com.gettyio.core.function - 程序包 com.gettyio.core.function
 
com.gettyio.core.handler.codec - 程序包 com.gettyio.core.handler.codec
 
com.gettyio.core.handler.codec.bytes - 程序包 com.gettyio.core.handler.codec.bytes
 
com.gettyio.core.handler.codec.string - 程序包 com.gettyio.core.handler.codec.string
 
com.gettyio.core.handler.ssl - 程序包 com.gettyio.core.handler.ssl
 
com.gettyio.core.handler.ssl.sslfacade - 程序包 com.gettyio.core.handler.ssl.sslfacade
 
com.gettyio.core.handler.ssl.sslfacade.defaulthandlers - 程序包 com.gettyio.core.handler.ssl.sslfacade.defaulthandlers
 
com.gettyio.core.logging - 程序包 com.gettyio.core.logging
 
com.gettyio.core.pipeline - 程序包 com.gettyio.core.pipeline
 
com.gettyio.core.pipeline.all - 程序包 com.gettyio.core.pipeline.all
 
com.gettyio.core.pipeline.in - 程序包 com.gettyio.core.pipeline.in
 
com.gettyio.core.pipeline.out - 程序包 com.gettyio.core.pipeline.out
 
com.gettyio.core.util - 程序包 com.gettyio.core.util
 
com.gettyio.core.util.detector - 程序包 com.gettyio.core.util.detector
 
com.gettyio.core.util.fastmd5.io - 程序包 com.gettyio.core.util.fastmd5.io
 
com.gettyio.core.util.fastmd5.util - 程序包 com.gettyio.core.util.fastmd5.util
 
com.gettyio.core.util.timer - 程序包 com.gettyio.core.util.timer
 
compare(String, String) - 类 中的方法com.gettyio.core.util.CaseIgnoringComparator
 
compare(int, int) - 类 中的静态方法com.gettyio.core.util.MathUtil
Compares two int values.
compare(long, long) - 类 中的静态方法com.gettyio.core.util.MathUtil
Compare two long values.
compareTo(ChannelGroup) - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
completed(Integer, AioChannel) - 类 中的方法com.gettyio.core.channel.internal.ReadCompletionHandler
 
completed(Integer, AioChannel) - 类 中的方法com.gettyio.core.channel.internal.WriteCompletionHandler
 
ConcurrentSafeMap<K,V> - com.gettyio.core.util中的类
ConcurrentSafeMap.java
ConcurrentSafeMap() - 类 的构造器com.gettyio.core.util.ConcurrentSafeMap
 
ConcurrentSafeMap(Map<K, V>) - 类 的构造器com.gettyio.core.util.ConcurrentSafeMap
 
config - 类 中的变量com.gettyio.core.channel.SocketChannel
配置
config - 类 中的变量com.gettyio.core.channel.starter.AioServerStarter
服务端配置
ConnectHandler - com.gettyio.core.channel.starter中的接口
ConnectHandler.java
contain(T) - 类 中的方法com.gettyio.core.util.FastArrayList
查看集合中是否包含某个元素,如果有,返回 true,没有返回 false
contain(T) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
查看集合中是否包含某个元素,如果有,返回 true,没有返回 false
contains(Object) - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
contains(String) - 类 中的静态方法com.gettyio.core.util.SystemPropertyUtil
当且仅当具有指定的key的系统属性存在时,返回true
containsKey(Object) - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
containsValue(Object) - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
continueRead() - 类 中的方法com.gettyio.core.channel.AioChannel
读取socket通道内的数据
convertDateToString(Date) - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
date类型转String类型
convertLongToString(Long) - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
date类型转String类型
convertStringToDate(String) - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
String类型转date类型
createSSLFacade(IHandshakeCompletedListener, ISSLListener, ISessionClosedListener) - 类 中的方法com.gettyio.core.handler.ssl.SslService
 

D

DatagramPacketHandler - com.gettyio.core.pipeline中的接口
DatagramPacketHandler.java
DateTimeUtil - com.gettyio.core.util中的类
DateTimeUtil.java
DateTimeUtil() - 类 的构造器com.gettyio.core.util.DateTimeUtil
 
deallocate(ByteBuffer, int) - 类 中的方法com.gettyio.core.buffer.ChunkPool
将缓冲区返回到池。
deallocate(ByteBuffer) - 类 中的方法com.gettyio.core.buffer.ChunkPool
 
debug(String, String, String...) - 类 中的静态方法com.gettyio.core.handler.ssl.sslfacade.SSLLog
 
debug(Throwable) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
debug(String) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在DEBUG级别记录一条消息
debug(String, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在DEBUG级别记录消息
debug(String, Object, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在DEBUG级别记录消息
debug(String, Object...) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在DEBUG级别记录消息
debug(String, Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在DEBUG级别记录一个异常(throwable)并附带一条消息
debug(Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在DEBUG级别记录一个异常(throwable)
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 类 中的方法com.gettyio.core.handler.codec.bytes.BytesDecoder
 
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 类 中的方法com.gettyio.core.handler.codec.string.DefaultFrameDecoder
 
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 类 中的方法com.gettyio.core.handler.codec.string.DelimiterFrameDecoder
 
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 类 中的方法com.gettyio.core.handler.codec.string.FixedLengthFrameDecoder
 
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 类 中的方法com.gettyio.core.handler.codec.string.StringDecoder
 
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 类 中的方法com.gettyio.core.handler.ssl.SslHandler
 
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 接口 中的方法com.gettyio.core.pipeline.ChannelBoundHandler
消息解码
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 类 中的方法com.gettyio.core.pipeline.ChannelHandlerAdapter
 
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 接口 中的方法com.gettyio.core.pipeline.in.ChannelInboundHandler
消息解码
decode(SocketChannel, Object, LinkedNonReadBlockQueue<Object>) - 类 中的方法com.gettyio.core.pipeline.in.SimpleChannelInboundHandler
 
DECODE - 类 中的静态变量com.gettyio.core.util.Base64
Specify decoding in first bit.
decode(byte[]) - 类 中的静态方法com.gettyio.core.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - 类 中的静态方法com.gettyio.core.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - 类 中的静态方法com.gettyio.core.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - 类 中的静态方法com.gettyio.core.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - 类 中的静态方法com.gettyio.core.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - 类 中的静态方法com.gettyio.core.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decoder(Charset, CodingErrorAction, CodingErrorAction) - 类 中的静态方法com.gettyio.core.util.CharsetUtil
Returns a new CharsetDecoder for the Charset with specified error actions.
decoder(Charset, CodingErrorAction) - 类 中的静态方法com.gettyio.core.util.CharsetUtil
Returns a new CharsetDecoder for the Charset with the specified error action.
decoder(Charset) - 类 中的静态方法com.gettyio.core.util.CharsetUtil
Returns a cached thread-local CharsetDecoder for the specified Charset.
DecoderException - com.gettyio.core.handler.codec中的异常错误
DecoderException.java
DecoderException() - 异常错误 的构造器com.gettyio.core.handler.codec.DecoderException
Creates a new instance.
DecoderException(String, Throwable) - 异常错误 的构造器com.gettyio.core.handler.codec.DecoderException
Creates a new instance.
DecoderException(String) - 异常错误 的构造器com.gettyio.core.handler.codec.DecoderException
Creates a new instance.
DecoderException(Throwable) - 异常错误 的构造器com.gettyio.core.handler.codec.DecoderException
Creates a new instance.
DecoderResult - com.gettyio.core.handler.codec中的类
DecoderResult.java
DecoderResult(Throwable) - 类 的构造器com.gettyio.core.handler.codec.DecoderResult
 
decodeString(AutoByteBuffer, int, int, Charset) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
指定解析成string
decodeToFile(String, String) - 类 中的静态方法com.gettyio.core.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - 类 中的静态方法com.gettyio.core.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int, ClassLoader) - 类 中的静态方法com.gettyio.core.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decrypt(ByteBuffer) - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
decrypt(ByteBuffer) - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
DefaultChannelGroup - com.gettyio.core.channel.group中的类
DefaultChannelGroup.java
DefaultChannelGroup() - 类 的构造器com.gettyio.core.channel.group.DefaultChannelGroup
构造函数
DefaultChannelGroup(String) - 类 的构造器com.gettyio.core.channel.group.DefaultChannelGroup
构造函数
defaultChannelPipeline - 类 中的变量com.gettyio.core.channel.SocketChannel
默认责任链对象
DefaultChannelPipeline - com.gettyio.core.pipeline中的类
DefaultChannelPipeline.java
DefaultChannelPipeline(SocketChannel) - 类 的构造器com.gettyio.core.pipeline.DefaultChannelPipeline
 
DefaultFrameDecoder - com.gettyio.core.handler.codec.string中的类
DefaultFrameDecoder.java
DefaultFrameDecoder() - 类 的构造器com.gettyio.core.handler.codec.string.DefaultFrameDecoder
 
DefaultOnCloseListener - com.gettyio.core.handler.ssl.sslfacade.defaulthandlers中的类
By default do nothing on the close event.
DefaultOnCloseListener() - 类 的构造器com.gettyio.core.handler.ssl.sslfacade.defaulthandlers.DefaultOnCloseListener
 
DefaultTaskHandler - com.gettyio.core.handler.ssl.sslfacade中的类
 
DefaultTaskHandler() - 类 的构造器com.gettyio.core.handler.ssl.sslfacade.DefaultTaskHandler
 
DelimiterFrameDecoder - com.gettyio.core.handler.codec.string中的类
DelimiterFrameDecoder.java
DelimiterFrameDecoder(byte[]) - 类 的构造器com.gettyio.core.handler.codec.string.DelimiterFrameDecoder
 
discardReadBytes() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
删除已读部分,保留未读部分 读下标初始为0,写下标为未读长度
DO_BREAK_LINES - 类 中的静态变量com.gettyio.core.util.Base64
Do break lines when encoding.
done() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ITasks
 
done() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.Tasks
 
DONT_GUNZIP - 类 中的静态变量com.gettyio.core.util.Base64
Specify that gzipped data should not be automatically gunzipped.
doRead(byte[]) - 类 中的方法com.gettyio.core.channel.NioChannel
读取
duplicate() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
复制自身

E

EMPTY_STRING - 类 中的静态变量com.gettyio.core.util.StringUtil
 
encode(SocketChannel, Object) - 类 中的方法com.gettyio.core.handler.codec.bytes.BytesEncoder
 
encode(SocketChannel, Object) - 类 中的方法com.gettyio.core.handler.codec.string.StringEncoder
 
encode(SocketChannel, Object) - 类 中的方法com.gettyio.core.handler.ssl.SslHandler
 
encode(SocketChannel, Object) - 接口 中的方法com.gettyio.core.pipeline.ChannelBoundHandler
消息编码
encode(SocketChannel, Object) - 类 中的方法com.gettyio.core.pipeline.ChannelHandlerAdapter
 
encode(SocketChannel, Object) - 接口 中的方法com.gettyio.core.pipeline.out.ChannelOutboundHandler
消息编码
ENCODE - 类 中的静态变量com.gettyio.core.util.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - 类 中的静态方法com.gettyio.core.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - 类 中的静态方法com.gettyio.core.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
encodeBytes(byte[]) - 类 中的静态方法com.gettyio.core.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - 类 中的静态方法com.gettyio.core.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - 类 中的静态方法com.gettyio.core.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - 类 中的静态方法com.gettyio.core.util.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - 类 中的静态方法com.gettyio.core.util.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - 类 中的静态方法com.gettyio.core.util.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeFileToFile(String, String) - 类 中的静态方法com.gettyio.core.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - 类 中的静态方法com.gettyio.core.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - 类 中的静态方法com.gettyio.core.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - 类 中的静态方法com.gettyio.core.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encoder(Charset, CodingErrorAction, CodingErrorAction) - 类 中的静态方法com.gettyio.core.util.CharsetUtil
Returns a new CharsetEncoder for the Charset with specified error actions.
encoder(Charset, CodingErrorAction) - 类 中的静态方法com.gettyio.core.util.CharsetUtil
Returns a new CharsetEncoder for the Charset with the specified error action.
encoder(Charset) - 类 中的静态方法com.gettyio.core.util.CharsetUtil
Returns a cached thread-local CharsetEncoder for the specified Charset.
encodeToFile(byte[], String) - 类 中的静态方法com.gettyio.core.util.Base64
Convenience method for encoding data to a file.
encrypt(ByteBuffer) - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
encrypt(ByteBuffer) - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
equals(Object) - 接口 中的方法com.gettyio.core.function.Function
比较
error(Throwable) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
error(String) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在ERROR级别记录一条消息
error(String, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在ERROR级别记录消息
error(String, Object, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在ERROR级别记录消息
error(String, Object...) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在ERROR级别记录消息
error(String, Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在INFO级别记录一个异常(throwable)并附带一条消息
error(Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在INFO级别记录一个异常(throwable)
EventLoop - com.gettyio.core.channel.loop中的接口
事件循环
exceptionCaught(SocketChannel, Throwable) - 接口 中的方法com.gettyio.core.pipeline.ChannelBoundHandler
异常
exceptionCaught(SocketChannel, Throwable) - 类 中的方法com.gettyio.core.pipeline.ChannelHandlerAdapter
 
exceptionCaught(SocketChannel, Throwable) - 接口 中的方法com.gettyio.core.pipeline.in.ChannelInboundHandler
异常
execute(Runnable) - 类 中的方法com.gettyio.core.util.ThreadPool
在未来某个时间执行给定的命令 该命令可能在新的线程、已入池的线程或者正调用的线程中执行,这由 Executor 实现决定。
execute(List<Runnable>) - 类 中的方法com.gettyio.core.util.ThreadPool
在未来某个时间执行给定的命令链表 该命令可能在新的线程、已入池的线程或者正调用的线程中执行,这由 Executor 实现决定。

F

failed(Throwable, AioChannel) - 类 中的方法com.gettyio.core.channel.internal.ReadCompletionHandler
 
failed(Throwable, AioChannel) - 类 中的方法com.gettyio.core.channel.internal.WriteCompletionHandler
 
failure(Throwable) - 类 中的静态方法com.gettyio.core.handler.codec.DecoderResult
 
FastArrayList<T> - com.gettyio.core.util中的类
FastArrayList.java
FastArrayList(int) - 类 的构造器com.gettyio.core.util.FastArrayList
有参构造函数 指定数组的大小
FastArrayList(Class<T>, int) - 类 的构造器com.gettyio.core.util.FastArrayList
 
FastArrayList() - 类 的构造器com.gettyio.core.util.FastArrayList
无参构造函数 指定数组的初始大小为 10
FastArrayList(Class<T>) - 类 的构造器com.gettyio.core.util.FastArrayList
 
FastCopyOnWriteArrayList<T> - com.gettyio.core.util中的类
FastArrayList.java
FastCopyOnWriteArrayList(Class<T>) - 类 的构造器com.gettyio.core.util.FastCopyOnWriteArrayList
 
FastCopyOnWriteArrayList() - 类 的构造器com.gettyio.core.util.FastCopyOnWriteArrayList
 
Final() - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Returns array of bytes (16 bytes) representing hash as of the current state of this object.
finalize() - 类 中的方法com.gettyio.core.util.timer.HashedWheelTimer
 
find(String) - 接口 中的方法com.gettyio.core.channel.group.ChannelGroup
查找通道
find(String) - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
findNextPositivePowerOfTwo(int) - 类 中的静态方法com.gettyio.core.util.MathUtil
Fast method of finding the next power of 2 greater than or equal to the supplied value.
FixedLengthFrameDecoder - com.gettyio.core.handler.codec.string中的类
FixedLengthFrameDecoder.java
FixedLengthFrameDecoder(int) - 类 的构造器com.gettyio.core.handler.codec.string.FixedLengthFrameDecoder
 
FixedThread - 类 中的静态变量com.gettyio.core.util.ThreadPool
 
flush() - 类 中的方法com.gettyio.core.buffer.AbstractBufferWriter
 
flush() - 类 中的方法com.gettyio.core.buffer.AioBufferWriter
 
flush() - 类 中的方法com.gettyio.core.buffer.NioBufferWriter
 
flush() - 类 中的方法com.gettyio.core.util.fastmd5.io.NullOutputStream
 
flushBase64() - 类 中的方法com.gettyio.core.util.Base64.OutputStream
Method added by PHIL.
Function<F,T> - com.gettyio.core.function中的接口
Function.java

G

get(Object) - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
get(int) - 类 中的方法com.gettyio.core.util.FastArrayList
根据索引获得元素
get(int) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
根据索引获得元素
get(String) - 类 中的静态方法com.gettyio.core.util.SystemPropertyUtil
返回指定的Java系统属性的值 key, 如果属性访问失败,则返回指定的默认值
get(String, String) - 类 中的静态方法com.gettyio.core.util.SystemPropertyUtil
返回指定的Java系统属性的值 key, 如果属性访问失败,则返回指定的默认值
getAioChannel() - 类 中的方法com.gettyio.core.channel.starter.AioClientStarter
已过时。
该方法已过期,请使用ConnectHandler回调来获取channel
getArray(Class<T>, int) - 类 中的方法com.gettyio.core.util.LinkedBlockQueue
 
getArray(Class<T>, int) - 类 中的方法com.gettyio.core.util.LinkedNonReadBlockQueue
 
getArray(Class<T>, int) - 接口 中的方法com.gettyio.core.util.LinkedQueue
获取mq底层数组对象
getAsynchronousSocketChannel() - 类 中的方法com.gettyio.core.channel.AioChannel
 
getAsynchronousSocketChannel() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
getBoolean(String, boolean) - 类 中的静态方法com.gettyio.core.util.SystemPropertyUtil
返回指定的Java系统属性的值 key, 如果属性访问失败,则返回指定的默认值
getBufferWriter() - 接口 中的方法com.gettyio.core.channel.loop.EventLoop
获取数据输出组件
getBufferWriter() - 类 中的方法com.gettyio.core.channel.loop.NioEventLoop
 
getBufferWriterQueueSize() - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
getByteBuffer() - 类 中的方法com.gettyio.core.buffer.ChannelByteBuffer
 
getBytes(int, int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
获取指定的数组
getCapacity() - 类 中的方法com.gettyio.core.util.LinkedBlockQueue
 
getCapacity() - 类 中的方法com.gettyio.core.util.LinkedNonReadBlockQueue
 
getCapacity() - 接口 中的方法com.gettyio.core.util.LinkedQueue
获取队列初始化大小
getChannelAttribute() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
getChannelAttribute(String) - 类 中的方法com.gettyio.core.channel.SocketChannel
 
getChannelId() - 类 中的方法com.gettyio.core.channel.SocketChannel
获取当前aioChannel的唯一标识
getChannelPipeline() - 类 中的方法com.gettyio.core.channel.AioChannel
 
getChannelPipeline() - 类 中的方法com.gettyio.core.channel.NioChannel
 
getChannelPipeline() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
getChunkPool() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
getChunkPoolBlockTime() - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
getClassLoader(Class<?>) - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Return the ClassLoader for the given Class.
getClientChunkSize() - 类 中的方法com.gettyio.core.channel.config.ClientConfig
 
getConfig() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
getContextClassLoader() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Return the context ClassLoader for the current Thread.
getCorePoolSize() - 类 中的方法com.gettyio.core.util.ThreadPool
 
getCount() - 类 中的方法com.gettyio.core.util.LinkedBlockQueue
 
getCount() - 类 中的方法com.gettyio.core.util.LinkedNonReadBlockQueue
 
getCount() - 接口 中的方法com.gettyio.core.util.LinkedQueue
获取当前队列的元素数量
getCurrentDate() - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
Description: 获取当前系统日期
getCurrentLongTime() - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
获取当前系统时间
getCurrentTime() - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
获取当前系统时间
getDecoder(Charset) - 类 中的静态方法com.gettyio.core.util.CharsetUtil
已过时。
getDefaultChannelPipeline() - 类 中的方法com.gettyio.core.channel.SocketChannel
获取默认的责任链
getDefaultFactory() - 类 中的静态方法com.gettyio.core.logging.InternalLoggerFactory
返回默认工厂
getEncoder(Charset) - 类 中的静态方法com.gettyio.core.util.CharsetUtil
已过时。
getFirst() - 类 中的方法com.gettyio.core.util.FastArrayList
获取第一个
getFirst() - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
获取第一个
getHash(File) - 类 中的静态方法com.gettyio.core.util.fastmd5.util.MD5
Calculates and returns the hash of the contents of the given file.
getHost() - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
getInPipeList() - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
获取入栈责任链
getInstance(Class<?>) - 类 中的静态方法com.gettyio.core.logging.InternalLoggerFactory
使用指定类的名称创建新的记录器实例
getInstance(String) - 类 中的静态方法com.gettyio.core.logging.InternalLoggerFactory
使用指定的名称创建新的记录器实例
getInt(String, int) - 类 中的静态方法com.gettyio.core.util.SystemPropertyUtil
返回指定的Java系统属性的值 key, 如果属性访问失败,则返回指定的默认值
getKeyFile() - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
getKeyPassword() - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
getKeystorePassword() - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
getLast() - 类 中的方法com.gettyio.core.util.FastArrayList
获取最后一个
getLast() - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
获取最后一个
getLevel() - 类 中的静态方法com.gettyio.core.util.detector.ResourceLeakDetector
Returns the current resource leak detection level.
getLocalAddress() - 类 中的方法com.gettyio.core.channel.AioChannel
获取本地地址
getLocalAddress() - 类 中的方法com.gettyio.core.channel.NioChannel
 
getLocalAddress() - 类 中的方法com.gettyio.core.channel.SocketChannel
获取本地地址
getLocalAddress() - 类 中的方法com.gettyio.core.channel.UdpChannel
 
getLocalIP() - 类 中的静态方法com.gettyio.core.util.NetWorkUtil
获取本地ip 适合windows与linux
getLocalMACAddress() - 类 中的静态方法com.gettyio.core.util.NetWorkUtil
获取本地mac地址
getLong(String, long) - 类 中的静态方法com.gettyio.core.util.SystemPropertyUtil
返回指定的Java系统属性的值 key, 如果属性访问失败,则返回指定的默认值
getMACAddress(InetAddress) - 类 中的静态方法com.gettyio.core.util.NetWorkUtil
获取mac地址
getMD5() - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5InputStream
 
getMD5() - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5OutputStream
 
getNioChannel() - 类 中的方法com.gettyio.core.buffer.ChannelByteBuffer
 
getNioChannel() - 类 中的方法com.gettyio.core.channel.starter.NioClientStarter
已过时。
该方法已过时,请使用ConnectHandler回调获取channel
getNioEventLoop() - 类 中的方法com.gettyio.core.channel.NioChannel
 
getOutPipeList() - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
获取出栈责任链
getPort() - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
getReadBufferSize() - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
getRemoteAddress() - 类 中的方法com.gettyio.core.channel.AioChannel
获取远程地址
getRemoteAddress() - 类 中的方法com.gettyio.core.channel.NioChannel
获取远程地址
getRemoteAddress() - 类 中的方法com.gettyio.core.channel.SocketChannel
获取远程地址
getSelector() - 接口 中的方法com.gettyio.core.channel.loop.EventLoop
获取selector
getSelector() - 类 中的方法com.gettyio.core.channel.loop.NioEventLoop
 
getSelector() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
getServerChunkSize() - 类 中的方法com.gettyio.core.channel.config.ServerConfig
 
getSocketChannel() - 类 中的方法com.gettyio.core.channel.NioChannel
 
getSocketChannel() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
getSocketOptions() - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
getSpecifiedDayAfter(String) - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
获得指定时间的后一天
getSpecifiedDayAfter(Date) - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
获得指定时间的后一天
getSpecifiedDayBefore(String) - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
获得指定时间的前一天
getSpecifiedDayBefore(Date) - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
获得指定时间的前一天
getSsl() - 类 中的方法com.gettyio.core.handler.ssl.SslService
 
getSslHandler() - 类 中的方法com.gettyio.core.channel.AioChannel
 
getSslHandler() - 类 中的方法com.gettyio.core.channel.NioChannel
 
getSslHandler() - 类 中的方法com.gettyio.core.channel.SocketChannel
获取ssl服务
getSslService() - 类 中的方法com.gettyio.core.handler.ssl.SslHandler
 
getSystemClassLoader() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Return the system ClassLoader.
getTimesMorning() - 类 中的静态方法com.gettyio.core.util.DateTimeUtil
获得当天0点时间
getTrustFile() - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
getTrustPassword() - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
GZIP - 类 中的静态变量com.gettyio.core.util.Base64
Specify that data should be gzip-compressed in second bit.

H

handShak - 类 中的变量com.gettyio.core.channel.SocketChannel
是否已经握手
hasArray() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
数组是否有长度
hash() - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5InputStream
Returns array of bytes representing hash of the stream as finalized for the current state.
hash() - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5OutputStream
Returns array of bytes representing hash of the stream as finalized for the current state.
hashCode() - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
HashedWheelTimer - com.gettyio.core.util.timer中的类
HashedWheelTimer.java
HashedWheelTimer(ThreadFactory, long, TimeUnit, int, boolean, long) - 类 的构造器com.gettyio.core.util.timer.HashedWheelTimer
时间轮的构造函数
HashedWheelTimer() - 类 的构造器com.gettyio.core.util.timer.HashedWheelTimer
创建时间轮 - 使用默认线程工厂,100ms 转一格, 512格 ,启用内存溢出检测,不设置最大等待处理次数
HashedWheelTimer(long, TimeUnit) - 类 的构造器com.gettyio.core.util.timer.HashedWheelTimer
创建时间轮 - 使用默认线程工厂,512格 ,启用内存溢出检测,不设置最大等待处理次数
HashedWheelTimer(long, TimeUnit, int) - 类 的构造器com.gettyio.core.util.timer.HashedWheelTimer
创建时间轮 - 使用默认线程工厂,启用内存溢出检测,不设置最大等待处理次数
HashedWheelTimer(ThreadFactory, long, TimeUnit, int) - 类 的构造器com.gettyio.core.util.timer.HashedWheelTimer
创建时间轮 - 启用内存溢出检测,不设置最大等待处理次数
HashedWheelTimer(ThreadFactory, long, TimeUnit, int, boolean) - 类 的构造器com.gettyio.core.util.timer.HashedWheelTimer
创建时间轮 -不设置 最大等待处理次数
hashesEqual(byte[], byte[]) - 类 中的静态方法com.gettyio.core.util.fastmd5.util.MD5
Compares byte arrays for equality.
hasRemaining() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
当前是否有可读数据

I

IdleState - com.gettyio.core.constant中的枚举
IdleState.java
IHandshakeCompletedListener - com.gettyio.core.handler.ssl.sslfacade中的接口
 
indexOf(T) - 类 中的方法com.gettyio.core.util.FastArrayList
根据元素获得在集合中的索引
indexOf(T) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
根据元素获得在集合中的索引
info(Throwable) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
info(String) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在INFO级别记录一条消息
info(String, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在INFO级别记录消息
info(String, Object, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在INFO级别记录消息
info(String, Object...) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在INFO级别记录消息
info(String, Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在INFO级别记录一个异常(throwable)并附带一条消息
info(Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在INFO级别记录一个异常(throwable)
Init() - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Initialize MD5 internal state (object can be reused just by calling Init() after every Final()
initChannel(SocketChannel) - 类 中的方法com.gettyio.core.pipeline.ChannelInitializer
初始化责任链
initChannel(SocketChannel) - 接口 中的方法com.gettyio.core.pipeline.ChannelPipeline
初始化责任链
initiateClose - 类 中的变量com.gettyio.core.channel.SocketChannel
是否调用close()方法关闭
initNativeLibrary() - 类 中的静态方法com.gettyio.core.util.fastmd5.util.MD5
Convenience method for initNativeLibrary(false).
initNativeLibrary(boolean) - 类 中的静态方法com.gettyio.core.util.fastmd5.util.MD5
Attempts to initialize native library support.
inPipeFirst() - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
获取第一个入栈处理器
InputStream(InputStream) - 类 的构造器com.gettyio.core.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
InputStream(InputStream, int) - 类 的构造器com.gettyio.core.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
INSTANCE - 类 中的静态变量com.gettyio.core.logging.JdkLoggerFactory
 
INSTANCE - 类 中的静态变量com.gettyio.core.logging.Slf4JLoggerFactory
 
INSTANCE - 类 中的静态变量com.gettyio.core.util.CaseIgnoringComparator
 
InternalLogger - com.gettyio.core.logging中的接口
通过这个类来打印日志
InternalLoggerFactory - com.gettyio.core.logging中的类
创建一个或更改默认工厂实现。
InternalLoggerFactory() - 类 的构造器com.gettyio.core.logging.InternalLoggerFactory
 
InternalLogLevel - com.gettyio.core.logging中的枚举
日志级别枚举
intValue(Integer, int) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
Resolves a possibly null Integer to a primitive int, using a default value.
invokeAll(Collection<? extends Callable<T>>) - 类 中的方法com.gettyio.core.util.ThreadPool
执行给定的任务 当所有任务完成时,返回保持任务状态和结果的Future列表。
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - 类 中的方法com.gettyio.core.util.ThreadPool
执行给定的任务 当所有任务完成或超时期满时(无论哪个首先发生),返回保持任务状态和结果的Future列表。
invokeAny(Collection<? extends Callable<T>>) - 类 中的方法com.gettyio.core.util.ThreadPool
执行给定的任务 如果某个任务已成功完成(也就是未抛出异常),则返回其结果。
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - 类 中的方法com.gettyio.core.util.ThreadPool
执行给定的任务 如果在给定的超时期满前某个任务已成功完成(也就是未抛出异常),则返回其结果。
invokePipeline(ChannelState) - 类 中的方法com.gettyio.core.channel.SocketChannel
正向执行管道处理
invokePipeline(ChannelState, Object) - 类 中的方法com.gettyio.core.channel.SocketChannel
正向执行管道处理
ipToLong(String) - 类 中的静态方法com.gettyio.core.util.NetWorkUtil
把ip转化为整数
ipValid(String) - 类 中的静态方法com.gettyio.core.util.NetWorkUtil
检查IP是否合法
isAndroid() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Returns true 当且仅当当前平台为Android时
isCancelled() - 接口 中的方法com.gettyio.core.util.timer.Timeout
定时任务是否取消
isClientAuth() - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
isClientMode() - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
isClientMode() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
isClientMode() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
isCloseCompleted() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
isCloseCompleted() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
isClosed() - 类 中的方法com.gettyio.core.buffer.AbstractBufferWriter
是否已经关闭
isClosed() - 类 中的方法com.gettyio.core.buffer.AioBufferWriter
 
isClosed() - 类 中的方法com.gettyio.core.buffer.NioBufferWriter
 
isDebugEnabled() - 类 中的静态方法com.gettyio.core.handler.ssl.sslfacade.SSLLog
 
isDebugEnabled() - 接口 中的方法com.gettyio.core.logging.InternalLogger
是否为DEBUG级别启用了logger实例
isDirect() - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
isEmpty() - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
isEmpty() - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
isEmpty(String) - 类 中的静态方法com.gettyio.core.util.StringUtil
 
isEnabled(InternalLogLevel) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
isEnabled(InternalLogLevel) - 接口 中的方法com.gettyio.core.logging.InternalLogger
是否为指定的logger实例启用
isEnabled() - 类 中的静态方法com.gettyio.core.util.detector.ResourceLeakDetector
Returns true if resource leak detection is enabled.
isErrorEnabled() - 接口 中的方法com.gettyio.core.logging.InternalLogger
是否为ERROR级别启用了logger实例
ISessionClosedListener - com.gettyio.core.handler.ssl.sslfacade中的接口
Monitors end of session notifications
isExpired() - 接口 中的方法com.gettyio.core.util.timer.Timeout
定时任务是否过期
isFailure() - 类 中的方法com.gettyio.core.handler.codec.DecoderResult
 
isFinished() - 类 中的方法com.gettyio.core.handler.codec.DecoderResult
 
isHandShak() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
isHandshakeCompleted() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
isHandshakeCompleted() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
isIkvmDotNet() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Returns true if the running JVM is IKVM.NET, false otherwise.
isInfoEnabled() - 接口 中的方法com.gettyio.core.logging.InternalLogger
是否为INFO级别启用了logger实例
isInitiateClose() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
isInRange(String, String) - 类 中的静态方法com.gettyio.core.util.NetWorkUtil
判断某个ip是否在一个网段内 isInRange("192.168.1.127", "192.168.1.64/26")
isInvalid() - 类 中的方法com.gettyio.core.channel.SocketChannel
当前会话是否已失效
isJ9Jvm() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Returns true 如果正在运行的JVM是 IBM J9 或者 Eclipse OpenJ9 其中之一
isKeepAlive() - 类 中的方法com.gettyio.core.channel.SocketChannel
 
ISO_8859_1 - 类 中的静态变量com.gettyio.core.util.CharsetUtil
ISO Latin Alphabet No. 1, as known as ISO-LATIN-1
isOpen() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
isOsx() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Return true 如果JVM在OSX/MacOS上运行
isOutOfBounds(int, int, int) - 类 中的静态方法com.gettyio.core.util.MathUtil
确定请求的{索引}和{长度}是否适合{容量} Determine if the requested index and length will fit within capacity.
isShutDown() - 类 中的方法com.gettyio.core.util.ThreadPool
判断线程池是否已关闭
ISSLFacade - com.gettyio.core.handler.ssl.sslfacade中的接口
 
ISSLListener - com.gettyio.core.handler.ssl.sslfacade中的接口
 
isSuccess() - 类 中的方法com.gettyio.core.handler.codec.DecoderResult
 
isTerminated() - 类 中的方法com.gettyio.core.util.ThreadPool
关闭线程池后判断所有任务是否都已完成 注意,除非首先调用 shutdown 或 shutdownNow,否则 isTerminated 永不为 true。
isTraceEnabled() - 接口 中的方法com.gettyio.core.logging.InternalLogger
是否为Trace级别启用了logger实例
isWarnEnabled() - 接口 中的方法com.gettyio.core.logging.InternalLogger
是否为WARN级别启用了logger实例
isWindows() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Return true 如果JVM在Windows上运行
ITaskHandler - com.gettyio.core.handler.ssl.sslfacade中的接口
 
ITasks - com.gettyio.core.handler.ssl.sslfacade中的接口
 
iterator() - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
iterator() - 类 中的方法com.gettyio.core.util.FastArrayList
 
iterator() - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
 

J

javaVersion() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
返回使用该库的Java版本
JdkLoggerFactory - com.gettyio.core.logging中的类
JdkLogger工厂
JdkLoggerFactory() - 类 的构造器com.gettyio.core.logging.JdkLoggerFactory
 

K

keepAlive - 类 中的变量com.gettyio.core.channel.SocketChannel
默认保持长连接
keys() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 

L

Level - com.gettyio.core.util.detector中的枚举
Level.java
lineDelimiter - 类 中的静态变量com.gettyio.core.handler.codec.string.DelimiterFrameDecoder
默认分隔符
LinkedBlockQueue<T> - com.gettyio.core.util中的类
LinkedBlockQueue.java
LinkedBlockQueue() - 类 的构造器com.gettyio.core.util.LinkedBlockQueue
 
LinkedBlockQueue(int) - 类 的构造器com.gettyio.core.util.LinkedBlockQueue
 
LinkedNonReadBlockQueue<T> - com.gettyio.core.util中的类
LinkedNonBlockQueue.java
LinkedNonReadBlockQueue() - 类 的构造器com.gettyio.core.util.LinkedNonReadBlockQueue
 
LinkedNonReadBlockQueue(int) - 类 的构造器com.gettyio.core.util.LinkedNonReadBlockQueue
 
LinkedQueue<T> - com.gettyio.core.util中的接口
LinkedQueue.java
log(InternalLogLevel, String, Throwable) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
log(InternalLogLevel, Throwable) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
log(InternalLogLevel, String) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
log(InternalLogLevel, String, Object) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
log(InternalLogLevel, String, Object, Object) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
log(InternalLogLevel, String, Object...) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
log(InternalLogLevel, String) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在指定的级别记录消息
log(InternalLogLevel, String, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在指定级别记录消息
log(InternalLogLevel, String, Object, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在指定级别记录消息
log(InternalLogLevel, String, Object...) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在指定级别记录消息
log(InternalLogLevel, String, Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在指定级别记录一个异常(throwable)并附带一条消息
log(InternalLogLevel, Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在指定级别记录一个异常(throwable)
logger - 类 中的静态变量com.gettyio.core.channel.SocketChannel
 
longToByte(long) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
方法名:longToByte @param i @return 返回类型:byte[]
longToIP(long) - 类 中的静态方法com.gettyio.core.util.NetWorkUtil
将十进制整数形式转换成127.0.0.1形式的ip地址 将整数形式的IP地址转化成字符串的方法如下: 1、将整数值进行右移位操作,右移24位,右移时高位补0,得到的数字即为第一段IP。
longValue(Long, long) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
Resolves a possibly null Long to a primitive long, using a default value.

M

main(String[]) - 类 中的静态方法com.gettyio.core.util.fastmd5.util.MD5InputStream
This method is here for testing purposes only - do not rely on it being here.
main(String[]) - 类 中的静态方法com.gettyio.core.util.fastmd5.util.MD5OutputStream
This method is here for testing purposes only - do not rely on it being here.
MathUtil - com.gettyio.core.util中的类
Math utility methods.
MD5 - com.gettyio.core.util.fastmd5.util中的类
Fast implementation of RSA's MD5 hash generator in Java JDK Beta-2 or higher.
MD5() - 类 的构造器com.gettyio.core.util.fastmd5.util.MD5
Class constructor
MD5(Object) - 类 的构造器com.gettyio.core.util.fastmd5.util.MD5
Initialize class, and update hash with ob.toString()
MD5InputStream - com.gettyio.core.util.fastmd5.util中的类
MD5InputStream, a subclass of FilterInputStream implementing MD5 functionality on a stream.
MD5InputStream(InputStream) - 类 的构造器com.gettyio.core.util.fastmd5.util.MD5InputStream
Creates a MD5InputStream
MD5OutputStream - com.gettyio.core.util.fastmd5.util中的类
MD5OutputStream is a subclass of FilterOutputStream adding MD5 hashing of the output.
MD5OutputStream(OutputStream) - 类 的构造器com.gettyio.core.util.fastmd5.util.MD5OutputStream
Creates MD5OutputStream
MessageToByteEncoder - com.gettyio.core.handler.codec中的类
MessageToByteEncoder.java
MessageToByteEncoder() - 类 的构造器com.gettyio.core.handler.codec.MessageToByteEncoder
 
milliseconds() - 类 中的方法com.gettyio.core.util.Time
 

N

name() - 接口 中的方法com.gettyio.core.channel.group.ChannelGroup
名称
name() - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
name() - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
name() - 接口 中的方法com.gettyio.core.logging.InternalLogger
返回这个实例的名称。
nanoseconds() - 类 中的方法com.gettyio.core.util.Time
 
NetWorkUtil - com.gettyio.core.util中的类
NetWorkUtil.java
NetWorkUtil() - 类 的构造器com.gettyio.core.util.NetWorkUtil
 
newByteBuffer() - 类 中的静态方法com.gettyio.core.buffer.AutoByteBuffer
获取一个新的实例
newByteBuffer(int) - 类 中的静态方法com.gettyio.core.buffer.AutoByteBuffer
获取一个新的实例
newConcurrentDeque() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Returns a new concurrent Deque.
newInstance(String) - 类 中的方法com.gettyio.core.logging.InternalLoggerFactory
使用指定的名称创建新的记录器实例
newInstance(String) - 类 中的方法com.gettyio.core.logging.JdkLoggerFactory
 
newInstance(String) - 类 中的方法com.gettyio.core.logging.Slf4JLoggerFactory
 
NEWLINE - 类 中的静态变量com.gettyio.core.util.StringUtil
 
newTimeout(TimerTask, long, TimeUnit) - 类 中的方法com.gettyio.core.util.timer.HashedWheelTimer
 
newTimeout(TimerTask, long, TimeUnit) - 接口 中的方法com.gettyio.core.util.timer.Timer
newTimeout()添加定时任务 如果没有启动时间轮,则启动
next() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ITasks
 
next() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.Tasks
 
nextInPipe(ChannelHandlerAdapter) - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
获取下一个入栈处理器
nextOutPipe(ChannelHandlerAdapter) - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
获取下一个出栈处理器
NioBufferWriter - com.gettyio.core.buffer中的类
用于控制nio数据输出
NioBufferWriter(ChunkPool, int, int) - 类 的构造器com.gettyio.core.buffer.NioBufferWriter
构造函数
nioBufferWriter - 类 中的变量com.gettyio.core.channel.loop.NioEventLoop
数据输出类
NioChannel - com.gettyio.core.channel中的类
NioChannel.java
NioChannel(BaseConfig, SocketChannel, NioEventLoop, ChannelPipeline) - 类 的构造器com.gettyio.core.channel.NioChannel
 
NioClientStarter - com.gettyio.core.channel.starter中的类
NioClientStarter.java
NioClientStarter(String, int) - 类 的构造器com.gettyio.core.channel.starter.NioClientStarter
简单启动
NioClientStarter(ClientConfig) - 类 的构造器com.gettyio.core.channel.starter.NioClientStarter
配置文件启动
NioEventLoop - com.gettyio.core.channel.loop中的类
NioEventLoop.java
NioEventLoop(BaseConfig, ChunkPool) - 类 的构造器com.gettyio.core.channel.loop.NioEventLoop
构造方法
NioServerStarter - com.gettyio.core.channel.starter中的类
NioServerStarter.java
NioServerStarter(int) - 类 的构造器com.gettyio.core.channel.starter.NioServerStarter
简单启动
NioServerStarter(String, int) - 类 的构造器com.gettyio.core.channel.starter.NioServerStarter
指定host启动
NioServerStarter(ServerConfig) - 类 的构造器com.gettyio.core.channel.starter.NioServerStarter
指定配置启动
NioStarter - com.gettyio.core.channel.starter中的类
NioStarter.java
NioStarter() - 类 的构造器com.gettyio.core.channel.starter.NioStarter
 
NO_OPTIONS - 类 中的静态变量com.gettyio.core.util.Base64
No options specified.
NONE - 类 中的静态变量com.gettyio.core.handler.ssl.ClientAuth
不需要客户端验证
normalizedArch() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
获取规范
normalizedOs() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
获取系统类型
NullOutputStream - com.gettyio.core.util.fastmd5.io中的类
Copyright (c) 2001, 2002 by Pensamos Digital, Inc., All Rights Reserved.
NullOutputStream() - 类 的构造器com.gettyio.core.util.fastmd5.io.NullOutputStream
 

O

ObjectToMessageDecoder - com.gettyio.core.handler.codec中的类
ObjectToMessageDecoder.java
ObjectToMessageDecoder() - 类 的构造器com.gettyio.core.handler.codec.ObjectToMessageDecoder
 
ObjectUtil - com.gettyio.core.util中的类
A grab-bag of useful utility methods.
ObjToByteArray(Object) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
对象转数组
onComplete() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.IHandshakeCompletedListener
 
onCompleted(SocketChannel) - 接口 中的方法com.gettyio.core.channel.starter.ConnectHandler
连接成功回调
onFailed(Throwable) - 接口 中的方法com.gettyio.core.channel.starter.ConnectHandler
连接失败回调
onPlainData(ByteBuffer) - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLListener
 
onSessionClosed() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.defaulthandlers.DefaultOnCloseListener
 
onSessionClosed() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISessionClosedListener
 
onWrappedData(ByteBuffer) - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLListener
 
openSwitch() - 类 中的方法com.gettyio.core.util.timer.HashedWheelTimer
 
openSwitch() - 接口 中的方法com.gettyio.core.util.timer.Timer
动态开关开启 1、轮子每 tick ,将格子内所有定时任务执行 2、开关开启后的定时任务直接执行,不进入格子。
operationComplete(SocketChannel) - 接口 中的方法com.gettyio.core.channel.group.ChannelFutureListener
操作完成监听
ORDERED - 类 中的静态变量com.gettyio.core.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
outPipeFirst() - 类 中的方法com.gettyio.core.pipeline.DefaultChannelPipeline
获取第一个出栈处理器
OutputStream(OutputStream) - 类 的构造器com.gettyio.core.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
OutputStream(OutputStream, int) - 类 的构造器com.gettyio.core.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

P

PlatformDependent - com.gettyio.core.util中的类
PlatformDependent.java
poll() - 类 中的方法com.gettyio.core.buffer.AbstractBufferWriter
弹出队列中的数据
poll() - 类 中的方法com.gettyio.core.buffer.AioBufferWriter
 
poll() - 类 中的方法com.gettyio.core.buffer.NioBufferWriter
 
poll() - 类 中的方法com.gettyio.core.util.LinkedBlockQueue
出队 最后一个元素
poll() - 类 中的方法com.gettyio.core.util.LinkedNonReadBlockQueue
出队 最后一个元素
poll() - 接口 中的方法com.gettyio.core.util.LinkedQueue
从队列获取一个元素
process(ITasks) - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.DefaultTaskHandler
 
process(ITasks) - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ITaskHandler
 
provider() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
put(K, V) - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
put(T) - 类 中的方法com.gettyio.core.util.LinkedBlockQueue
进队 插入最后一个元素位置
put(T) - 类 中的方法com.gettyio.core.util.LinkedNonReadBlockQueue
进队 插入最后一个元素位置
put(T) - 接口 中的方法com.gettyio.core.util.LinkedQueue
加入一个元素
putAll(Map<? extends K, ? extends V>) - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
putIfAbsent(K, V) - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 

Q

queued() - 类 中的方法com.gettyio.core.buffer.ChunkPool
等待内存时阻塞的线程数

R

read() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取一个数据到byte,从readIndex位置开始,每读取一个,指针+1,类似byteBuffer的get方法
read(int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取制定下标的一个byte。
read() - 类 中的方法com.gettyio.core.util.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - 类 中的方法com.gettyio.core.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
read() - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5InputStream
Read a byte of data.
read(byte[], int, int) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5InputStream
Reads into an array of bytes.
readableBytes() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
当前可读长度,writerIndex - readerIndex
readableBytesArray() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
获取剩余未读数据
readByte() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取数据到byte,1 byte,从readIndex位置开始
readByteBuffer - 类 中的变量com.gettyio.core.channel.AioChannel
读缓冲。
readBytes(byte[]) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取数据到bytes,从readIndex位置开始
readBytes(byte[], int, int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取数据到bytes,写入从offset到offset+length的区域
readBytes(AutoByteBuffer) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取数据到另一个ByteBuffer
readCompleted(ByteBuffer) - 类 中的方法com.gettyio.core.channel.AioChannel
socket读取完成
ReadCompletionHandler - com.gettyio.core.channel.internal中的类
ReadCompletionHandler.java
ReadCompletionHandler(ThreadPool) - 类 的构造器com.gettyio.core.channel.internal.ReadCompletionHandler
 
readCompletionHandler - 类 中的变量com.gettyio.core.channel.starter.AioServerStarter
读回调
readerIndex(int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
重置读指针位置,相当于指定下次开始读取的下标 如果大于写入位置,则可读位置重置为写入位置,readableBytes()结果则为0
readerIndex() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取指针位置
readFromChannel(boolean) - 类 中的方法com.gettyio.core.channel.AioChannel
socket通道的读回调操作
readInt() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取integer值,读4 byte转换为integer,从readIndex位置开始
readResolve() - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
readRetainedSlice(int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取指定长度的数据,返回AutoByteBuffer
readToPipeline(Object) - 类 中的方法com.gettyio.core.channel.SocketChannel
消息读取到责任链管道
readUnsignedByte() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
读取无符号byte
rebuildSelector() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
新建一个selector来解决空轮询bug
record() - 接口 中的方法com.gettyio.core.util.detector.ResourceLeakTracker
Records the caller's current stack trace so that the ResourceLeakDetector can tell where the leaked resource was accessed lastly.
record(Object) - 接口 中的方法com.gettyio.core.util.detector.ResourceLeakTracker
Records the caller's current stack trace and the specified additional arbitrary information so that the ResourceLeakDetector can tell where the leaked resource was accessed lastly.
register(SelectableChannel, int) - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
同步, 保证多个线程调用register不会出现问题
register(SelectableChannel, int, Object) - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
register() - 类 中的方法com.gettyio.core.channel.NioChannel
注册事件
remove(Object) - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
remove(Object) - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
remove(int) - 类 中的方法com.gettyio.core.util.FastArrayList
根据索引删除元素
remove(T) - 类 中的方法com.gettyio.core.util.FastArrayList
删除指定的元素,删除成功返回 true,失败返回 false
remove(int) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
根据索引删除元素
remove(T) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
删除指定的元素,删除成功返回 true,失败返回 false
removeChannelAttribute(String) - 类 中的方法com.gettyio.core.channel.SocketChannel
 
reportTracedLeak(String, String) - 类 中的方法com.gettyio.core.util.detector.ResourceLeakDetector
This method is called when a traced leak is detected.
reportUntracedLeak(String) - 类 中的方法com.gettyio.core.util.detector.ResourceLeakDetector
This method is called when an untraced leak is detected.
REQUIRE - 类 中的静态变量com.gettyio.core.handler.ssl.ClientAuth
双向验证
reset() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
清理指针标记,数组内容保留,下次写入会被覆盖,除了array()获取原始数组外无法得到旧数据
ResourceLeakDetector<T> - com.gettyio.core.util.detector中的类
ResourceLeakDetector.java
ResourceLeakDetector(Class<?>) - 类 的构造器com.gettyio.core.util.detector.ResourceLeakDetector
已过时。
ResourceLeakDetector(String) - 类 的构造器com.gettyio.core.util.detector.ResourceLeakDetector
已过时。
ResourceLeakDetector(Class<?>, int, long) - 类 的构造器com.gettyio.core.util.detector.ResourceLeakDetector
已过时。
ResourceLeakDetector(Class<?>, int) - 类 的构造器com.gettyio.core.util.detector.ResourceLeakDetector
This should not be used directly by users of ResourceLeakDetector.
ResourceLeakDetector(String, int, long) - 类 的构造器com.gettyio.core.util.detector.ResourceLeakDetector
ResourceLeakHint - com.gettyio.core.util.detector中的接口
ResourceLeakHint.java
ResourceLeakTracker<T> - com.gettyio.core.util.detector中的接口
ResourceLeakTracker.java
resumeEncoding() - 类 中的方法com.gettyio.core.util.Base64.OutputStream
Resumes encoding of the stream.
reverseInvokePipeline(ChannelState, Object) - 类 中的方法com.gettyio.core.channel.SocketChannel
反向执行管道
round() - 类 中的方法com.gettyio.core.util.FastArrayList
轮训,均衡的随机获取数组里面的元素
round() - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
轮训,均衡的随机获取数组里面的元素
run() - 接口 中的方法com.gettyio.core.channel.loop.EventLoop
运行
run() - 类 中的方法com.gettyio.core.channel.loop.NioEventLoop
 
run(Timeout) - 接口 中的方法com.gettyio.core.util.timer.TimerTask

S

safeFindNextPositivePowerOfTwo(int) - 类 中的静态方法com.gettyio.core.util.MathUtil
求2的下一个幂值大于或等于提供值的快速方法。
schedule(Runnable, long, TimeUnit) - 类 中的方法com.gettyio.core.util.ThreadPool
延迟执行Runnable命令
schedule(Callable<V>, long, TimeUnit) - 类 中的方法com.gettyio.core.util.ThreadPool
延迟执行Callable命令
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - 类 中的方法com.gettyio.core.util.ThreadPool
延迟并以固定休息时间循环执行命令
scheduleWithFixedRate(Runnable, long, long, TimeUnit) - 类 中的方法com.gettyio.core.util.ThreadPool
延迟并循环执行命令
select(long) - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
select() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
selectedKeys() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
SelectedSelector - com.gettyio.core.channel.loop中的类
类名:SelectorHelper 版权:Copyright by www.getty.com 描述: 时间:2020/6/16
SelectedSelector(Selector) - 类 的构造器com.gettyio.core.channel.loop.SelectedSelector
 
selectNow() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
ServerConfig - com.gettyio.core.channel.config中的类
ServerConfig.java
ServerConfig() - 类 的构造器com.gettyio.core.channel.config.ServerConfig
 
serverConfig - 类 中的变量com.gettyio.core.channel.starter.NioServerStarter
服务端配置
set(SocketChannel, ByteBuffer) - 类 中的方法com.gettyio.core.buffer.ChannelByteBuffer
 
set(int, T) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
在指定位置修改元素,通过索引,修改完成后返回原数据
setArray(T[]) - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
 
setBufferWriterQueueSize(int) - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
setChannelAttribute(String, Object) - 类 中的方法com.gettyio.core.channel.SocketChannel
 
setChannelFutureListener(ChannelFutureListener) - 类 中的方法com.gettyio.core.channel.SocketChannel
 
setChunkPoolBlockTime(int) - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
setClientAuth(boolean) - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
setClientChunkSize(Integer) - 类 中的方法com.gettyio.core.channel.config.ClientConfig
 
setClientMode(boolean) - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
setCloseListener(ISessionClosedListener) - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
setCloseListener(ISessionClosedListener) - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
setDebugEnabled(boolean) - 类 中的静态方法com.gettyio.core.handler.ssl.sslfacade.SSLLog
 
setDefaultFactory(InternalLoggerFactory) - 类 中的静态方法com.gettyio.core.logging.InternalLoggerFactory
设置默认工厂
setHandShak(boolean) - 类 中的方法com.gettyio.core.channel.SocketChannel
 
setHandshakeCompletedListener(IHandshakeCompletedListener) - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
setHandshakeCompletedListener(IHandshakeCompletedListener) - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
setHost(String) - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
setKeepAlive(boolean) - 类 中的方法com.gettyio.core.channel.SocketChannel
 
setKeyFile(String) - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
setKeyPassword(String) - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
setKeystorePassword(String) - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
setLevel(Level) - 类 中的静态方法com.gettyio.core.util.detector.ResourceLeakDetector
Sets the resource leak detection level.
setOption(SocketOption, Object) - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
setPort(int) - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
setReadBufferSize(int) - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
setServerChunkSize(Integer) - 类 中的方法com.gettyio.core.channel.config.ServerConfig
 
setSslHandler(SslHandler) - 类 中的方法com.gettyio.core.channel.AioChannel
设置SSLHandler
setSslHandler(SslHandler) - 类 中的方法com.gettyio.core.channel.NioChannel
设置SSLHandler
setSslHandler(SslHandler) - 类 中的方法com.gettyio.core.channel.SocketChannel
设置SSLHandler
setSslHandshakeCompletedListener(IHandshakeCompletedListener) - 类 中的方法com.gettyio.core.channel.AioChannel
 
setSslHandshakeCompletedListener(IHandshakeCompletedListener) - 类 中的方法com.gettyio.core.channel.NioChannel
 
setSslHandshakeCompletedListener(IHandshakeCompletedListener) - 类 中的方法com.gettyio.core.channel.SocketChannel
 
setSSLListener(ISSLListener) - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
setSSLListener(ISSLListener) - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
setTrustFile(String) - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
setTrustPassword(String) - 类 中的方法com.gettyio.core.handler.ssl.SslConfig
 
shortToByte(int) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
方法名:shortToByte @param i @return 返回类型:byte[]
shutdown() - 接口 中的方法com.gettyio.core.channel.loop.EventLoop
关闭
shutdown() - 类 中的方法com.gettyio.core.channel.loop.NioEventLoop
 
shutdown() - 类 中的方法com.gettyio.core.channel.starter.AioClientStarter
停止客户端
shutdown() - 类 中的方法com.gettyio.core.channel.starter.AioServerStarter
停止服务
shutdown() - 类 中的方法com.gettyio.core.channel.starter.NioClientStarter
停止客户端
shutdown() - 类 中的方法com.gettyio.core.channel.starter.NioServerStarter
停止服务
shutdown() - 类 中的方法com.gettyio.core.util.ThreadPool
待以前提交的任务执行完毕后关闭线程池 启动一次顺序关闭,执行以前提交的任务,但不接受新任务。
shutdownNow() - 类 中的方法com.gettyio.core.util.ThreadPool
试图停止所有正在执行的活动任务 试图停止所有正在执行的活动任务,暂停处理正在等待的任务,并返回等待执行的任务列表。
SIGNAL_SUCCESS - 类 中的静态变量com.gettyio.core.handler.codec.DecoderResult
 
SIGNAL_UNFINISHED - 类 中的静态变量com.gettyio.core.handler.codec.DecoderResult
 
SimpleChannelInboundHandler<T> - com.gettyio.core.pipeline.in中的类
SimpleChannelInboundHandler.java
SimpleChannelInboundHandler() - 类 的构造器com.gettyio.core.pipeline.in.SimpleChannelInboundHandler
 
simpleClassName(Object) - 类 中的静态方法com.gettyio.core.util.StringUtil
simpleClassName(Class<?>) - 类 中的静态方法com.gettyio.core.util.StringUtil
Generates a simplified name from a Class.
SingleThread - 类 中的静态变量com.gettyio.core.util.ThreadPool
 
size() - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
size() - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
size() - 类 中的方法com.gettyio.core.util.FastArrayList
获取数组的大小
size() - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
获取数组的大小
skipBytes(int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
获取长度下标
sleep(long) - 类 中的方法com.gettyio.core.util.Time
 
Slf4JLoggerFactory - com.gettyio.core.logging中的类
Slf4JLogger 工厂
slice(ByteBuffer) - 类 中的静态方法com.gettyio.core.handler.ssl.sslfacade.BufferUtils
 
SocketChannel - com.gettyio.core.channel中的类
SocketChannel.java
SocketChannel() - 类 的构造器com.gettyio.core.channel.SocketChannel
 
SocketMode - com.gettyio.core.channel中的枚举
SocketMode.java
socketMode(SocketMode) - 类 中的方法com.gettyio.core.channel.starter.NioClientStarter
 
socketMode(SocketMode) - 类 中的方法com.gettyio.core.channel.starter.NioServerStarter
 
socketMode - 类 中的变量com.gettyio.core.channel.starter.NioStarter
开启的socket模式 TCP/UDP ,默认tcp
SslConfig - com.gettyio.core.handler.ssl中的类
SslConfig.java
SslConfig() - 类 的构造器com.gettyio.core.handler.ssl.SslConfig
 
SSLFacade - com.gettyio.core.handler.ssl.sslfacade中的类
 
SSLFacade(SSLContext, boolean, boolean, ITaskHandler) - 类 的构造器com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
SslHandler - com.gettyio.core.handler.ssl中的类
SslHandler.java
SslHandler(SocketChannel, SslService) - 类 的构造器com.gettyio.core.handler.ssl.SslHandler
 
SSLLog - com.gettyio.core.handler.ssl.sslfacade中的类
 
SSLLog() - 类 的构造器com.gettyio.core.handler.ssl.sslfacade.SSLLog
 
SslService - com.gettyio.core.handler.ssl中的类
SslService.java
SslService(SslConfig) - 类 的构造器com.gettyio.core.handler.ssl.SslService
 
SslService(SslConfig, String) - 类 的构造器com.gettyio.core.handler.ssl.SslService
 
starRead() - 类 中的方法com.gettyio.core.channel.AioChannel
开始读取,很重要,只有调用该方法,才会开始监听消息读取
starRead() - 类 中的方法com.gettyio.core.channel.SocketChannel
开始读取,很重要,只有调用该方法,才会开始监听消息读取
starRead() - 类 中的方法com.gettyio.core.channel.UdpChannel
 
start() - 类 中的方法com.gettyio.core.channel.starter.AioClientStarter
启动客户端
start(ConnectHandler) - 类 中的方法com.gettyio.core.channel.starter.AioClientStarter
启动客户端,连接成功回调
start() - 类 中的方法com.gettyio.core.channel.starter.AioServerStarter
启动AIO服务
start() - 类 中的方法com.gettyio.core.channel.starter.NioClientStarter
启动客户端。
start(ConnectHandler) - 类 中的方法com.gettyio.core.channel.starter.NioClientStarter
启动客户端,并且回调
start() - 类 中的方法com.gettyio.core.channel.starter.NioServerStarter
启动IO服务
start() - 类 中的方法com.gettyio.core.util.timer.HashedWheelTimer
启动时间轮。
Starter - com.gettyio.core.channel.starter中的类
类名:Starter 版权:Copyright by www.getty.com 描述: 修改人:gogym 时间:2020/4/8
Starter() - 类 的构造器com.gettyio.core.channel.starter.Starter
 
status - 类 中的变量com.gettyio.core.channel.SocketChannel
会话当前状态
stop() - 类 中的方法com.gettyio.core.util.timer.HashedWheelTimer
停止时间轮的方法
stop() - 接口 中的方法com.gettyio.core.util.timer.Timer
停止时间轮
StringDecoder - com.gettyio.core.handler.codec.string中的类
StringDecoder.java
StringDecoder() - 类 的构造器com.gettyio.core.handler.codec.string.StringDecoder
 
StringEncoder - com.gettyio.core.handler.codec.string中的类
StringEncoder.java
StringEncoder() - 类 的构造器com.gettyio.core.handler.codec.string.StringEncoder
 
StringUtil - com.gettyio.core.util中的类
String utility class.
StringUtil() - 类 的构造器com.gettyio.core.util.StringUtil
 
submit(Callable<T>) - 类 中的方法com.gettyio.core.util.ThreadPool
提交一个Callable任务用于执行 如果想立即阻塞任务的等待,则可以使用result = exec.submit(aCallable).get(); 形式的构造。
submit(Runnable, T) - 类 中的方法com.gettyio.core.util.ThreadPool
提交一个Runnable任务用于执行
submit(Runnable) - 类 中的方法com.gettyio.core.util.ThreadPool
提交一个Runnable任务用于执行
SUCCESS - 类 中的静态变量com.gettyio.core.handler.codec.DecoderResult
 
suspendEncoding() - 类 中的方法com.gettyio.core.util.Base64.OutputStream
Suspends encoding of the stream.
SystemPropertyUtil - com.gettyio.core.util中的类
SystemPropertyUtil.java

T

task() - 接口 中的方法com.gettyio.core.util.timer.Timeout
获取需要执行的任务
Tasks - com.gettyio.core.handler.ssl.sslfacade中的类
 
Tasks(Worker, Handshaker) - 类 的构造器com.gettyio.core.handler.ssl.sslfacade.Tasks
 
terminate() - 接口 中的方法com.gettyio.core.handler.ssl.sslfacade.ISSLFacade
 
terminate() - 类 中的方法com.gettyio.core.handler.ssl.sslfacade.SSLFacade
 
threadLocalRandom() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
Return a Random 它不是线程安全的,因此只能在同一个线程中使用。
ThreadPool - com.gettyio.core.util中的类
ThreadPool.java
ThreadPool(int, int) - 类 的构造器com.gettyio.core.util.ThreadPool
ThreadPool构造函数
Time - com.gettyio.core.util中的类
Time.java
Time() - 类 的构造器com.gettyio.core.util.Time
 
Timeout - com.gettyio.core.util.timer中的接口
Timeout.java
timer() - 接口 中的方法com.gettyio.core.util.timer.Timeout
获取时间轮引用
Timer - com.gettyio.core.util.timer中的接口
Timer.java
TimerTask - com.gettyio.core.util.timer中的接口
TimerTask.java
tmpdir() - 类 中的静态方法com.gettyio.core.util.PlatformDependent
返回临时目录。
toArray(T[]) - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
toArray() - 类 中的方法com.gettyio.core.util.FastArrayList
获取集合内数组对象。
toArray() - 类 中的方法com.gettyio.core.util.FastCopyOnWriteArrayList
 
toHintString() - 接口 中的方法com.gettyio.core.util.detector.ResourceLeakHint
Returns a human-readable message that potentially enables easier resource leak tracking.
toInt(byte...) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
方法名:toInt @param b @return 返回类型:int
toLong(byte...) - 类 中的静态方法com.gettyio.core.util.ObjectUtil
方法名:toLong @param b @return 返回类型:long
toString() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
 
toString(int, int, Charset) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
解析成string
toString() - 类 中的方法com.gettyio.core.channel.config.BaseConfig
 
toString() - 类 中的方法com.gettyio.core.channel.group.DefaultChannelGroup
 
toString() - 类 中的方法com.gettyio.core.handler.codec.DecoderResult
 
toString() - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
totalMemory() - 类 中的方法com.gettyio.core.buffer.ChunkPool
此池管理的总内存
trace(Throwable) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
trace(String) - 接口 中的方法com.gettyio.core.logging.InternalLogger
以TRACE级别记录消息
trace(String, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在TRACE级别记录消息
trace(String, Object, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在TRACE级别记录消息
trace(String, Object...) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在TRACE级别记录消息
trace(String, Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在TRACE级别记录一个异常(throwable)并附带一条消息
trace(Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在TRACE级别记录一个异常(throwable)
track(T) - 类 中的方法com.gettyio.core.util.detector.ResourceLeakDetector
Creates a new ResourceLeakTracker which is expected to be closed via ResourceLeakTracker.close(Object) when the related resource is deallocated.

U

UdpChannel - com.gettyio.core.channel中的类
UdpChannel.java
UdpChannel(DatagramChannel, Selector, BaseConfig, ChunkPool, ChannelPipeline, int) - 类 的构造器com.gettyio.core.channel.UdpChannel
 
unallocatedMemory() - 类 中的方法com.gettyio.core.buffer.ChunkPool
获取未分配的内存(不在空闲列表中或正在使用中)
UNFINISHED - 类 中的静态变量com.gettyio.core.handler.codec.DecoderResult
 
Update(MD5State, byte[], int, int) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Updates hash with the bytebuffer given (using at maximum length bytes from that buffer)
Update(byte[], int, int) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Update internal state from buffer.
Update(byte[], int) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Update internal state from buffer.
Update(byte[]) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Updates hash with given array of bytes
Update(byte) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Updates hash with a single byte
Update(String) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Update buffer with given string.
Update(String, String) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Update buffer with given string using the given encoding.
Update(int) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5
Update buffer with a single integer (only & 0xff part is used, as a byte)
URL_SAFE - 类 中的静态变量com.gettyio.core.util.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
US_ASCII - 类 中的静态变量com.gettyio.core.util.CharsetUtil
7-bit ASCII, as known as ISO646-US or the Basic Latin block of the Unicode character set
userEventTriggered(SocketChannel, IdleState) - 接口 中的方法com.gettyio.core.pipeline.ChannelBoundHandler
该方法类似一个心态起搏器,执行读或写操作会被触发
userEventTriggered(SocketChannel, IdleState) - 类 中的方法com.gettyio.core.pipeline.ChannelHandlerAdapter
 
UTF_16 - 类 中的静态变量com.gettyio.core.util.CharsetUtil
16-bit UTF (UCS Transformation Format) whose byte order is identified by an optional byte-order mark
UTF_16BE - 类 中的静态变量com.gettyio.core.util.CharsetUtil
16-bit UTF (UCS Transformation Format) whose byte order is big-endian
UTF_16LE - 类 中的静态变量com.gettyio.core.util.CharsetUtil
16-bit UTF (UCS Transformation Format) whose byte order is little-endian
UTF_8 - 类 中的静态变量com.gettyio.core.util.CharsetUtil
8-bit UTF (UCS Transformation Format)

V

valueOf(String) - 枚举 中的静态方法com.gettyio.core.channel.ChannelState
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gettyio.core.channel.SocketMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gettyio.core.constant.IdleState
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gettyio.core.handler.ssl.sslfacade.BufferType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gettyio.core.logging.InternalLogLevel
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.gettyio.core.util.detector.Level
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.gettyio.core.channel.ChannelState
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gettyio.core.channel.SocketMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gettyio.core.constant.IdleState
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gettyio.core.handler.ssl.sslfacade.BufferType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.gettyio.core.logging.InternalLogLevel
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 类 中的静态方法com.gettyio.core.util.CharsetUtil
 
values() - 类 中的方法com.gettyio.core.util.ConcurrentSafeMap
 
values() - 枚举 中的静态方法com.gettyio.core.util.detector.Level
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
Version - com.gettyio.core.constant中的类
 
Version() - 类 的构造器com.gettyio.core.constant.Version
 
VERSION - 类 中的静态变量com.gettyio.core.constant.Version
版本

W

wakeup() - 类 中的方法com.gettyio.core.channel.loop.SelectedSelector
 
warn(Throwable) - 类 中的方法com.gettyio.core.logging.AbstractInternalLogger
 
warn(String) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在WARN级别记录一条消息
warn(String, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在WARN级别记录消息
warn(String, Object, Object) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在WARN级别记录消息
warn(String, Object...) - 接口 中的方法com.gettyio.core.logging.InternalLogger
根据指定的格式和参数在WARN级别记录消息
warn(String, Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在INFO级别记录一个异常(throwable)并附带一条消息
warn(Throwable) - 接口 中的方法com.gettyio.core.logging.InternalLogger
在INFO级别记录一个异常(throwable)
WORKER_STATE_INIT - 类 中的静态变量com.gettyio.core.util.timer.HashedWheelTimer
定义worker的3个状态:初始化、启动、关闭
WORKER_STATE_SHUTDOWN - 类 中的静态变量com.gettyio.core.util.timer.HashedWheelTimer
 
WORKER_STATE_STARTED - 类 中的静态变量com.gettyio.core.util.timer.HashedWheelTimer
 
workerState - 类 中的变量com.gettyio.core.util.timer.HashedWheelTimer
当前时间轮的状态
workerThreadNum(int) - 类 中的方法com.gettyio.core.channel.starter.AioServerStarter
 
workerThreadNum(int) - 类 中的方法com.gettyio.core.channel.starter.NioServerStarter
 
workerThreadNum - 类 中的变量com.gettyio.core.channel.starter.Starter
Worker线程数
workerThreadPool - 类 中的变量com.gettyio.core.channel.starter.Starter
线程池
writableBytes() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
当前剩余可写入数据长度,每次触发扩容后都不一样
write(int) - 类 中的方法com.gettyio.core.buffer.AbstractBufferWriter
 
write(byte[], int, int) - 类 中的方法com.gettyio.core.buffer.AbstractBufferWriter
 
write(byte[], int, int) - 类 中的方法com.gettyio.core.buffer.AioBufferWriter
 
write(int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入int值的byte转换结果,即丢弃高位
write(SocketChannel, byte[], int, int) - 类 中的方法com.gettyio.core.buffer.NioBufferWriter
 
write(int) - 类 中的方法com.gettyio.core.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - 类 中的方法com.gettyio.core.util.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(byte[]) - 类 中的方法com.gettyio.core.util.fastmd5.io.NullOutputStream
 
write(byte[], int, int) - 类 中的方法com.gettyio.core.util.fastmd5.io.NullOutputStream
 
write(int) - 类 中的方法com.gettyio.core.util.fastmd5.io.NullOutputStream
 
write(int) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5OutputStream
Writes a byte.
write(byte[], int, int) - 类 中的方法com.gettyio.core.util.fastmd5.util.MD5OutputStream
Writes a sub array of bytes.
writeAndFlush(byte[]) - 类 中的方法com.gettyio.core.buffer.AbstractBufferWriter
写入队列,并刷新
writeAndFlush(byte[]) - 类 中的方法com.gettyio.core.buffer.AioBufferWriter
 
writeAndFlush(SocketChannel, byte[]) - 类 中的方法com.gettyio.core.buffer.NioBufferWriter
 
writeAndFlush(Object) - 类 中的方法com.gettyio.core.channel.AioChannel
写数据到责任链管道
writeAndFlush(Object) - 类 中的方法com.gettyio.core.channel.NioChannel
 
writeAndFlush(Object) - 类 中的方法com.gettyio.core.channel.SocketChannel
写出数据,经过责任链
writeAndFlush(Object) - 类 中的方法com.gettyio.core.channel.UdpChannel
 
writeByte(byte) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入Byte数据,1 byte,类似byteBuffer的put
writeByteBuffer - 类 中的变量com.gettyio.core.channel.AioChannel
写缓冲
writeByteBuffer - 类 中的变量com.gettyio.core.channel.loop.NioEventLoop
写缓冲
writeBytes(byte[]) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入数组
writeBytes(byte[], int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入数组,并指定写入长度
writeBytes(byte[], int, int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入一个数组,指定位置
writeBytes(AutoByteBuffer) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入一个ByteBuffer可读数据
writeBytes(AutoByteBuffer, int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入一个ByteBuffer可读数据的部分长度
writeCompleted() - 类 中的方法com.gettyio.core.channel.AioChannel
写操作完成回调 需要同步控制
WriteCompletionHandler - com.gettyio.core.channel.internal中的类
WriteCompletionHandler.java
WriteCompletionHandler() - 类 的构造器com.gettyio.core.channel.internal.WriteCompletionHandler
 
writeCompletionHandler - 类 中的变量com.gettyio.core.channel.starter.AioServerStarter
写回调
writeInt(int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入integer数据,4 byte
writerIndex() - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入指针位置
writeShort(int) - 类 中的方法com.gettyio.core.buffer.AutoByteBuffer
写入一个short
writeToChannel(Object) - 类 中的方法com.gettyio.core.channel.AioChannel
写到BufferWriter输出器,不经过责任链
writeToChannel(Object) - 类 中的方法com.gettyio.core.channel.NioChannel
 
writeToChannel(Object) - 类 中的方法com.gettyio.core.channel.SocketChannel
写到BufferWriter输出器,不经过责任链
writeToChannel(Object) - 类 中的方法com.gettyio.core.channel.UdpChannel
已过时。
A B C D E F G H I J K L M N O P Q R S T U V W 
跳过导航链接

Copyright © 2021. All rights reserved.