Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Z 

A

AbstractCache<K extends Serializable,V extends Serializable> - Class in org.tio.utils.cache
超时和限制大小的缓存的默认实现
继承此抽象缓存需要:
创建一个新的Map 实现 prune 策略
AbstractQueueRunnable<T> - Class in org.tio.utils.thread.pool
 
AbstractQueueRunnable(Executor) - Constructor for class org.tio.utils.thread.pool.AbstractQueueRunnable
 
AbstractSynRunnable - Class in org.tio.utils.thread.pool
 
AbstractSynRunnable(Executor) - Constructor for class org.tio.utils.thread.pool.AbstractSynRunnable
 
accept(TimerTaskEntry) - Method in class org.tio.utils.timer.SystemTimer
Applies this function to the given argument.
accessCount - Variable in class org.tio.utils.cache.CacheObj
访问次数
add(K, V) - Method in class org.tio.utils.collection.MultiValueMap
 
add(T) - Method in class org.tio.utils.timer.DefaultTimerTaskService
 
add(TimerTask) - Method in class org.tio.utils.timer.SystemTimer
 
add(TimerTask) - Method in interface org.tio.utils.timer.Timer
添加新的任务到当前执行器(线程池),在任务过期后会执行任务。
add(T) - Method in interface org.tio.utils.timer.TimerTaskService
添加 ack 任务
add(TimerTaskEntry) - Method in class org.tio.utils.timer.TimingWheel
添加任务到时间轮
addAll(K, Set<? extends V>) - Method in class org.tio.utils.collection.MultiValueMap
 
addAll(byte[]...) - Static method in class org.tio.utils.hutool.ArrayUtil
合并 byte array
addMsg(T) - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
addMsg
addTask(Function<SystemTimer, T>) - Method in class org.tio.utils.timer.DefaultTimerTaskService
 
addTask(Function<SystemTimer, T>) - Method in interface org.tio.utils.timer.TimerTaskService
添加 ack 任务
advanceClock(long) - Method in class org.tio.utils.timer.SystemTimer
 
advanceClock(long) - Method in interface org.tio.utils.timer.Timer
推进内部时钟,执行任何在走过的时间间隔内过期的任务
advanceClock(Long) - Method in class org.tio.utils.timer.TimingWheel
推进时间
allocate(int) - Method in enum org.tio.utils.buffer.ByteBufferAllocator
 
AMP - Static variable in interface org.tio.utils.SysConst
&
append(byte[], int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
向快速缓冲加入数据
append(ByteBuffer) - Method in class org.tio.utils.hutool.FastByteBuffer
向快速缓冲加入数据
append(byte[]) - Method in class org.tio.utils.hutool.FastByteBuffer
向快速缓冲加入数据
append(byte) - Method in class org.tio.utils.hutool.FastByteBuffer
向快速缓冲加入一个字节
append(FastByteBuffer) - Method in class org.tio.utils.hutool.FastByteBuffer
将另一个快速缓冲加入到自身
array(int) - Method in class org.tio.utils.hutool.FastByteBuffer
根据索引位返回缓冲集中的缓冲
ArrayUtil - Class in org.tio.utils.hutool
 
ArrayUtil() - Constructor for class org.tio.utils.hutool.ArrayUtil
 
ASTERISK - Static variable in interface org.tio.utils.SysConst
?
AVAILABLE_PROCESSORS - Static variable in class org.tio.utils.thread.ThreadUtils
 

B

BACKSLASH - Static variable in interface org.tio.utils.SysConst
反斜扛
BLANK - Static variable in interface org.tio.utils.SysConst
空串
buffCleaner - Static variable in class org.tio.utils.queue.Mapped
 
buffer - Variable in class org.tio.utils.queue.Mapped
 
BUFFER_SIZE - Static variable in class org.tio.utils.hutool.ZipUtil
 
build() - Method in class org.tio.utils.queue.FileQueue.Builder
 
builder() - Static method in class org.tio.utils.queue.FileQueue
 
Builder() - Constructor for class org.tio.utils.queue.FileQueue.Builder
 
ByteBufferAllocator - Enum in org.tio.utils.buffer
ByteBufAllocator
ByteBufferUtil - Class in org.tio.utils.buffer
ByteBuffer 工具

C

Cache<K extends Serializable,V extends Serializable> - Interface in org.tio.utils.cache
缓存接口
CacheListener<K,V> - Interface in org.tio.utils.cache
缓存监听,用于实现缓存操作时的回调监听,例如缓存对象的移除事件等
cacheMap - Variable in class org.tio.utils.cache.AbstractCache
数据实际存储 map
CacheObj<K extends Serializable,V extends Serializable> - Class in org.tio.utils.cache
缓存对象
CacheObj(K, V, long) - Constructor for class org.tio.utils.cache.CacheObj
构造
cacheObjIter() - Method in class org.tio.utils.cache.AbstractCache
获取所有CacheObj值的Iterator形式
cancel() - Method in class org.tio.utils.timer.TimerTask
 
cancelled() - Method in class org.tio.utils.timer.TimerTaskEntry
 
cancelPruneSchedule() - Method in class org.tio.utils.cache.TimedCache
取消定时清理
capacity - Variable in class org.tio.utils.cache.AbstractCache
返回缓存容量,0表示无大小限制
capacity() - Method in class org.tio.utils.cache.AbstractCache
 
capacity() - Method in interface org.tio.utils.cache.Cache
返回缓存容量,0表示无大小限制
channel - Variable in class org.tio.utils.queue.Mapped
 
CLASSPATH_PRE - Static variable in class org.tio.utils.hutool.ResourceUtil
 
ClassUtil - Class in org.tio.utils.hutool
class 工具类
ClassUtil() - Constructor for class org.tio.utils.hutool.ClassUtil
 
CLAZZ_NAME - Static variable in class org.tio.utils.json.FastJson1JsonAdapter
类名
CLAZZ_NAME - Static variable in class org.tio.utils.json.FastJson2JsonAdapter
类名
CLAZZ_NAME - Static variable in class org.tio.utils.json.GsonJsonAdapter
类名
CLAZZ_NAME - Static variable in class org.tio.utils.json.HuToolJsonAdapter
类名
CLAZZ_NAME - Static variable in class org.tio.utils.json.JacksonJsonAdapter
类名
CLAZZ_NAME - Static variable in class org.tio.utils.json.Snack3JsonAdapter
类名
clear() - Method in class org.tio.utils.cache.AbstractCache
 
clear() - Method in interface org.tio.utils.cache.Cache
清空缓存
clear() - Method in class org.tio.utils.cache.ReentrantCache
 
clear() - Method in class org.tio.utils.collection.IntObjectHashMap
 
clear() - Method in class org.tio.utils.collection.MultiValueMap
 
clear() - Method in interface org.tio.utils.prop.IPropSupport
清除所有属性
clear() - Method in class org.tio.utils.prop.MapPropSupport
 
clearMsgQueue() - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
清空处理的队列消息
clone(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
ByteBuffer clone
close() - Method in class org.tio.utils.cache.TimedCache
 
close() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
此方法无任何效果,当流被关闭后不会抛出IOException
close() - Method in class org.tio.utils.queue.FileQueue
 
close() - Method in class org.tio.utils.queue.Mapped
 
COL - Static variable in interface org.tio.utils.SysConst
:
CollUtil - Class in org.tio.utils.hutool
 
compareTo(TimerTaskEntry) - Method in class org.tio.utils.timer.TimerTaskEntry
 
composite(ByteBuffer, ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
组合两个 bytebuffer,把可读部分的组合成一个新的 bytebuffer
compress(byte[]) - Method in interface org.tio.utils.compression.Compression
compress
compress(byte[]) - Method in class org.tio.utils.compression.GzipCompression
 
Compression - Interface in org.tio.utils.compression
用于 mqtt 消息压缩
computeIfAbsent(Map<K, V>, K, Function<K, V>) - Static method in class org.tio.utils.hutool.CollUtil
A temporary workaround for Java 8 specific performance issue JDK-8161372 .
computeIfAbsent(String, Function<String, Object>) - Method in interface org.tio.utils.prop.IPropSupport
get 或者生成值
computeIfAbsent(String, Function<String, Object>) - Method in class org.tio.utils.prop.MapPropSupport
 
contains(T[], T) - Static method in class org.tio.utils.hutool.ArrayUtil
数组中是否包含元素
contains(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
指定字符是否在字符串中出现过
containsAny(CharSequence, CharSequence...) - Static method in class org.tio.utils.hutool.StrUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串
containsIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
containsKey(K) - Method in interface org.tio.utils.cache.Cache
是否包含key
containsKey(K) - Method in class org.tio.utils.cache.ReentrantCache
 
containsKey(int) - Method in class org.tio.utils.collection.IntObjectHashMap
 
containsKey(Object) - Method in class org.tio.utils.collection.IntObjectHashMap
 
containsKey(int) - Method in interface org.tio.utils.collection.IntObjectMap
Indicates whether or not this map contains a value for the specified key.
containsKey(Object) - Method in class org.tio.utils.collection.MultiValueMap
 
containsKey(String) - Method in interface org.tio.utils.prop.IPropSupport
是否存在 key
containsKey(String) - Method in class org.tio.utils.prop.MapPropSupport
 
containsValue(Object) - Method in class org.tio.utils.collection.IntObjectHashMap
 
containsValue(Object) - Method in class org.tio.utils.collection.MultiValueMap
 
convert(Class<?>, String) - Static method in class org.tio.utils.hutool.StrUtil
convert
convert(Class<?>, String[]) - Static method in class org.tio.utils.hutool.StrUtil
convert
convertValue(Object, Class<T>) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
convertValue(Object, Type) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
convertValue(Object, Class<T>) - Method in class org.tio.utils.json.HuToolJsonAdapter
 
convertValue(Object, Type) - Method in class org.tio.utils.json.HuToolJsonAdapter
 
convertValue(Object, Class<T>) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
convertValue(Object, Type) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
convertValue(Object, Class<T>) - Method in interface org.tio.utils.json.JsonAdapter
对象类型转换
convertValue(Object, Type) - Method in interface org.tio.utils.json.JsonAdapter
对象类型转换
convertValue(Object, Class<T>) - Static method in class org.tio.utils.json.JsonUtil
对象类型转换
convertValue(Object, Type) - Static method in class org.tio.utils.json.JsonUtil
对象类型转换
convertValue(Object, Class<T>) - Method in class org.tio.utils.json.Snack3JsonAdapter
 
convertValue(Object, Type) - Method in class org.tio.utils.json.Snack3JsonAdapter
 
copy(ByteBuffer, int, ByteBuffer, int, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
copy(ByteBuffer, int, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
copy(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
CORE_POOL_SIZE - Static variable in class org.tio.utils.thread.ThreadUtils
 
CR - Static variable in interface org.tio.utils.SysConst
\r
CR_ - Static variable in interface org.tio.utils.SysConst
 
CR_LF - Static variable in interface org.tio.utils.SysConst
 
CR_LF_CR_LF - Static variable in interface org.tio.utils.SysConst
 
CRLF - Static variable in interface org.tio.utils.SysConst
\r\n

D

DATA_FILENAME_MAX_LENGTH - Static variable in class org.tio.utils.queue.Mapped
 
DatePattern - Interface in org.tio.utils.hutool
 
DateUtil - Class in org.tio.utils.hutool
 
DateUtil() - Constructor for class org.tio.utils.hutool.DateUtil
 
daysBetween(Date, Date) - Static method in class org.tio.utils.hutool.DateUtil
两个日期相隔的天数
decode(String) - Static method in class org.tio.utils.mica.HexUtils
decode Hex
decode(byte[]) - Static method in class org.tio.utils.mica.HexUtils
decode Hex
decode(String) - Method in enum org.tio.utils.mica.PayloadEncode
解码
decode(String, String) - Static method in enum org.tio.utils.mica.PayloadEncode
解码
decodeHex(String) - Static method in class org.tio.utils.mica.DigestUtils
decode Hex
decodeToString(byte[]) - Static method in class org.tio.utils.mica.HexUtils
decodeToString Hex
decodeToString(byte[], Charset) - Static method in class org.tio.utils.mica.HexUtils
decodeToString Hex
decodeToString(String) - Static method in class org.tio.utils.mica.HexUtils
decodeToString Hex
decodeToString(String, Charset) - Static method in class org.tio.utils.mica.HexUtils
decodeToString Hex
decompress(byte[]) - Method in interface org.tio.utils.compression.Compression
decompress
decompress(byte[]) - Method in class org.tio.utils.compression.GzipCompression
 
DEFAULT_CAPACITY - Static variable in class org.tio.utils.collection.IntObjectHashMap
Default initial capacity.
DEFAULT_CHARSET - Static variable in class org.tio.utils.mica.HexUtils
 
DEFAULT_CHARSET - Static variable in interface org.tio.utils.SysConst
 
DEFAULT_LOAD_FACTOR - Static variable in class org.tio.utils.collection.IntObjectHashMap
Default load factor.
DefaultThreadFactory - Class in org.tio.utils.thread.pool
线程池工厂
DefaultThreadFactory(String) - Constructor for class org.tio.utils.thread.pool.DefaultThreadFactory
 
DefaultThreadFactory(String, int) - Constructor for class org.tio.utils.thread.pool.DefaultThreadFactory
 
DefaultTimerTaskService - Class in org.tio.utils.timer
Default TimerTaskService
DefaultTimerTaskService() - Constructor for class org.tio.utils.timer.DefaultTimerTaskService
 
DefaultTimerTaskService(long, int) - Constructor for class org.tio.utils.timer.DefaultTimerTaskService
 
DefaultTimerTaskService(SystemTimer) - Constructor for class org.tio.utils.timer.DefaultTimerTaskService
 
DefaultTimerTaskService(SystemTimer, TimingWheelThread) - Constructor for class org.tio.utils.timer.DefaultTimerTaskService
 
delayMs - Variable in class org.tio.utils.timer.TimerTask
延迟时间
digest(String, byte[]) - Static method in class org.tio.utils.mica.DigestUtils
digest
digestHex(String, byte[]) - Static method in class org.tio.utils.mica.DigestUtils
digest Hex
digestHmac(String, byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
digest Hmac
digestHmacHex(String, String, String) - Static method in class org.tio.utils.mica.DigestUtils
digest Hmac Hex
digestHmacHex(String, byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
digest Hmac Hex
DigestUtils - Class in org.tio.utils.mica
加密相关工具类直接使用Spring util封装,减少jar依赖
DigestUtils() - Constructor for class org.tio.utils.mica.DigestUtils
 

E

EMPTY - Static variable in class org.tio.utils.hutool.StrUtil
 
EMPTY_BYTES - Static variable in class org.tio.utils.buffer.ByteBufferUtil
空 byte 数组
encode(byte[]) - Static method in class org.tio.utils.mica.HexUtils
encode Hex
encode(byte[], boolean) - Static method in class org.tio.utils.mica.HexUtils
encode Hex
encode(byte) - Static method in class org.tio.utils.mica.HexUtils
encode Hex
encode(byte[]) - Method in enum org.tio.utils.mica.PayloadEncode
编码
encodeHex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
encode Hex
encodeToString(byte[], boolean) - Static method in class org.tio.utils.mica.HexUtils
encode Hex
encodeToString(byte[]) - Static method in class org.tio.utils.mica.HexUtils
encode Hex
encodeToString(String) - Static method in class org.tio.utils.mica.HexUtils
encode Hex
encodeToString(String, Charset) - Static method in class org.tio.utils.mica.HexUtils
encode Hex
endWith(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否以给定字符结尾
endWith(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
endWith(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串结尾
endWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串结尾,忽略大小写
entries() - Method in class org.tio.utils.collection.IntObjectHashMap
 
entries() - Method in interface org.tio.utils.collection.IntObjectMap
Gets an iterable to traverse over the primitive entries contained in this map.
entrySet() - Method in class org.tio.utils.collection.IntObjectHashMap
 
entrySet() - Method in class org.tio.utils.collection.MultiValueMap
 
EQ - Static variable in interface org.tio.utils.SysConst
=
equals(Object) - Method in class org.tio.utils.collection.IntObjectHashMap
 
equals(Object) - Method in class org.tio.utils.collection.MultiValueMap
 
equals(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
比较两个字符串(大小写敏感)。
equals(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
比较两个字符串是否相等。
equalsIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
比较两个字符串(大小写不敏感)。
ExceptionUtils - Class in org.tio.utils.mica
异常处理工具类
ExceptionUtils() - Constructor for class org.tio.utils.mica.ExceptionUtils
 
execute() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
把本任务对象提交到线程池去执行
execute(Runnable) - Method in class org.tio.utils.thread.pool.SynThreadPoolExecutor
 
executed - Variable in class org.tio.utils.thread.pool.AbstractSynRunnable
是否已经提交到线程池了
executor - Variable in class org.tio.utils.thread.pool.AbstractSynRunnable
 
existCustomTimeout - Variable in class org.tio.utils.cache.AbstractCache
每个对象是否有单独的失效时长,用于决定清理过期对象是否有必要。

F

FastByteArrayOutputStream - Class in org.tio.utils.hutool
基于快速缓冲FastByteBuffer的OutputStream,随着数据的增长自动扩充缓冲区 可以通过FastByteArrayOutputStream.toByteArray()FastByteArrayOutputStream.toString()来获取数据 FastByteArrayOutputStream.close()方法无任何效果,当流被关闭后不会抛出IOException 这种设计避免重新分配内存块而是分配新增的缓冲区,缓冲区不会被GC,数据也不会被拷贝到其他缓冲区。
FastByteArrayOutputStream() - Constructor for class org.tio.utils.hutool.FastByteArrayOutputStream
 
FastByteArrayOutputStream(int) - Constructor for class org.tio.utils.hutool.FastByteArrayOutputStream
 
FastByteBuffer - Class in org.tio.utils.hutool
代码移植自blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
FastByteBuffer() - Constructor for class org.tio.utils.hutool.FastByteBuffer
 
FastByteBuffer(int) - Constructor for class org.tio.utils.hutool.FastByteBuffer
 
FastJson1JsonAdapter - Class in org.tio.utils.json
FastJson1 json 适配器
FastJson1JsonAdapter() - Constructor for class org.tio.utils.json.FastJson1JsonAdapter
 
FastJson2JsonAdapter - Class in org.tio.utils.json
FastJson2 json 适配器
FastJson2JsonAdapter() - Constructor for class org.tio.utils.json.FastJson2JsonAdapter
 
FIFOCache<K extends Serializable,V extends Serializable> - Class in org.tio.utils.cache
FIFO(first in first out) 先进先出缓存.
FIFOCache(int) - Constructor for class org.tio.utils.cache.FIFOCache
构造,默认对象不过期
FIFOCache(int, long) - Constructor for class org.tio.utils.cache.FIFOCache
构造
FileQueue<E> - Class in org.tio.utils.queue
文件队列
FileQueue.Builder - Class in org.tio.utils.queue
 
fill(String, char, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
fillAfter(String, char, int) - Static method in class org.tio.utils.hutool.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串后
filter(T[], UnaryOperator<T>) - Static method in class org.tio.utils.hutool.ArrayUtil
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,如果返回null表示这个元素对象抛弃 2、修改元素对象,返回集合中为修改后的对象
filter(T[], Predicate<T>) - Static method in class org.tio.utils.hutool.ArrayUtil
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,Predicate.test(Object) (Object)}方法返回true的对象将被加入结果集合中
force() - Method in class org.tio.utils.queue.Mapped
 
formatDateTime(LocalDateTime) - Static method in class org.tio.utils.hutool.DateUtil
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
fromList(List<T>, int, int) - Static method in class org.tio.utils.page.PageUtils
 
fromList(List<E>, int, int, Function<E, T>) - Static method in class org.tio.utils.page.PageUtils
 
fromSet(Set<T>, int, int) - Static method in class org.tio.utils.page.PageUtils
 
fromSet(Set<E>, int, int, Function<E, T>) - Static method in class org.tio.utils.page.PageUtils
 
fromSet(Set<E>, int, int, Predicate<E>, Function<E, T>) - Static method in class org.tio.utils.page.PageUtils
 

G

get(K, boolean, Supplier<V>) - Method in class org.tio.utils.cache.AbstractCache
 
get(K, boolean, long, Supplier<V>) - Method in class org.tio.utils.cache.AbstractCache
 
get(K) - Method in interface org.tio.utils.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回null 调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回null,否则返回值。
get(K, Supplier<V>) - Method in interface org.tio.utils.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象 调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回null,否则返回值。
get(K, boolean, Supplier<V>) - Method in interface org.tio.utils.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象 调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回null,否则返回值。
get(K, boolean) - Method in interface org.tio.utils.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回null 调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回null,否则返回值。
get(boolean) - Method in class org.tio.utils.cache.CacheObj
获取值
get(K, boolean) - Method in class org.tio.utils.cache.ReentrantCache
 
get(int) - Method in class org.tio.utils.collection.IntObjectHashMap
 
get(Object) - Method in class org.tio.utils.collection.IntObjectHashMap
 
get(int) - Method in interface org.tio.utils.collection.IntObjectMap
Gets the value in the map with the specified key.
get(Object) - Method in class org.tio.utils.collection.MultiValueMap
 
get(int) - Method in class org.tio.utils.hutool.FastByteBuffer
根据索引位返回一个字节
get(String) - Method in interface org.tio.utils.prop.IPropSupport
获取属性
get(String, Function<Object, T>) - Method in interface org.tio.utils.prop.IPropSupport
获取属性
get(String) - Method in class org.tio.utils.prop.MapPropSupport
 
getAbsolutePath(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获取ClassPath绝对路径
getAddressList(Predicate<NetworkInterface>, Predicate<InetAddress>) - Static method in class org.tio.utils.hutool.NetUtil
获取所有满足过滤条件的本地IP地址对象
getAndRefresh(K) - Method in interface org.tio.utils.cache.Cache
获取并刷新 ttl,每次调用此方法会刷新最后访问时间,也就是说会重新计算超时时间。
getAndRefresh(K, Supplier<V>) - Method in interface org.tio.utils.cache.Cache
获取并刷新 ttl,每次调用此方法会刷新最后访问时间,也就是说会重新计算超时时间。
getAndRemove(String) - Method in interface org.tio.utils.prop.IPropSupport
获取并删除
getAndRemove(String, Function<Object, T>) - Method in interface org.tio.utils.prop.IPropSupport
获取并删除
getBizExecutor(int) - Static method in class org.tio.utils.thread.ThreadUtils
获取 biz 业务线程池
getClasspathOrFileResource(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获取 classpath 或者 file 绝对路径下的资源
getContainsStr(CharSequence, CharSequence...) - Static method in class org.tio.utils.hutool.StrUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
getDelayMs() - Method in class org.tio.utils.timer.TimerTask
 
getEncode(String) - Static method in enum org.tio.utils.mica.PayloadEncode
获取解码器
getExpirationMs() - Method in class org.tio.utils.timer.TimerTaskEntry
 
getExpiredTime() - Method in class org.tio.utils.cache.CacheObj
获取过期时间,返回null表示永不过期
getFileResource(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获取 file 下的资源做为流
getFileResourceAsText(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获取 file 下的资源做为流
getGroupExecutor() - Static method in class org.tio.utils.thread.ThreadUtils
getGroupExecutor
getGroupExecutor(int) - Static method in class org.tio.utils.thread.ThreadUtils
获取 tio group 线程池
getHiresClockMs() - Static method in interface org.tio.utils.timer.Timer
 
getHitCount() - Method in class org.tio.utils.cache.AbstractCache
 
getId(Random, int, int) - Static method in class org.tio.utils.hutool.StrUtil
获取一个生成的随机 id,同长度比 uuid 冲突概率更小得多
getInstance(String, int) - Static method in class org.tio.utils.thread.pool.DefaultThreadFactory
Gets the single INSTANCE of DefaultThreadFactory.
getJsonAdapter() - Static method in class org.tio.utils.json.JsonUtil
获取 jsonAdapter
getJsonAdapter(JsonAdapter) - Static method in class org.tio.utils.json.JsonUtil
获取 jsonAdapter
getKey() - Method in class org.tio.utils.cache.CacheObj
获取键
getLastAccess() - Method in class org.tio.utils.cache.CacheObj
获取上次访问时间
getLeft() - Method in class org.tio.utils.mica.Pair
 
getList() - Method in class org.tio.utils.page.Page
 
getList() - Method in class org.tio.utils.timer.TimerTaskEntry
 
getMissCount() - Method in class org.tio.utils.cache.AbstractCache
 
getMsgQueue() - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
获取消息队列
getMsgQueueSize() - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
获取消息队列中的大小
getNanoId() - Static method in class org.tio.utils.hutool.StrUtil
一个小巧、安全、URL友好、21 位的字符串ID生成器,64 进制,只包含数字、大写、小写字母
getNetworkInterfaceIpV4(String) - Static method in class org.tio.utils.hutool.NetUtil
获取网卡 ipv4
getPageNumber() - Method in class org.tio.utils.page.Page
 
getPageSize() - Method in class org.tio.utils.page.Page
 
getResource(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获得资源相对路径对应的URL
getResourceAsStream(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获取ClassPath下的资源做为流
getResourceAsText(String) - Static method in class org.tio.utils.hutool.ResourceUtil
读取 ClassPath 下的资源
getRight() - Method in class org.tio.utils.mica.Pair
 
getTimerTask() - Method in class org.tio.utils.timer.TimerTaskEntry
 
getTimerTaskEntry() - Method in class org.tio.utils.timer.TimerTask
 
getTioExecutor() - Static method in class org.tio.utils.thread.ThreadUtils
getTioExecutor
getTioExecutor(int) - Static method in class org.tio.utils.thread.ThreadUtils
获取 getTioExecutor 线程池
getTotalPage() - Method in class org.tio.utils.page.Page
 
getTotalRow() - Method in class org.tio.utils.page.Page
 
getTtl() - Method in class org.tio.utils.cache.CacheObj
获取对象存活时长,即超时总时长,0表示无限
getUUId() - Static method in class org.tio.utils.hutool.StrUtil
生成 uuid,32位,16进制
getValue() - Method in class org.tio.utils.cache.CacheObj
获取值
getVariables(String) - Method in class org.tio.utils.mica.StrTemplateParser
提取变量值 示例输入:"abcDreamluxxHellocc" 输出:{name=Dreamlu, like=Hello}
getVersion() - Static method in class org.tio.utils.Version
读取版本号
getWithoutLock(K) - Method in class org.tio.utils.cache.AbstractCache
获取键对应的CacheObj
GsonJsonAdapter - Class in org.tio.utils.json
Gson json 适配器
GsonJsonAdapter() - Constructor for class org.tio.utils.json.GsonJsonAdapter
 
GsonJsonAdapter(Gson) - Constructor for class org.tio.utils.json.GsonJsonAdapter
 
GsonJsonAdapter(GsonBuilder) - Constructor for class org.tio.utils.json.GsonJsonAdapter
 
guessPattern(String) - Static method in class org.tio.utils.hutool.DateUtil
 
gzip(byte[]) - Static method in class org.tio.utils.hutool.ZipUtil
Gzip压缩
GzipCompression - Class in org.tio.utils.compression
gzip 压缩
GzipCompression() - Constructor for class org.tio.utils.compression.GzipCompression
 
GzipCompression(int) - Constructor for class org.tio.utils.compression.GzipCompression
 

H

hashCode() - Method in class org.tio.utils.collection.IntObjectHashMap
 
hashCode() - Method in class org.tio.utils.collection.MultiValueMap
 
hashFNV1(byte[]) - Static method in class org.tio.utils.mica.HexUtils
FNV1算法
hashFNV1(byte[], int, int) - Static method in class org.tio.utils.mica.HexUtils
FNV1算法
hexDump(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
以16进制 打印 ByteBuffer
HexUtils - Class in org.tio.utils.mica
hex 工具,编解码全用 byte
HexUtils() - Constructor for class org.tio.utils.mica.HexUtils
 
hitCount - Variable in class org.tio.utils.cache.AbstractCache
命中数,即命中缓存计数
hmacMd5(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacMd5
hmacMd5(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacMd5
hmacMd5Hex(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacMd5 Hex
hmacMd5Hex(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacMd5 Hex
hmacSha1(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha1
hmacSha1(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha1
hmacSha1Hex(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha1 Hex
hmacSha1Hex(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha1 Hex
hmacSha224(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha224
hmacSha224(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha224
hmacSha224Hex(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha224 Hex
hmacSha224Hex(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha224 Hex
hmacSha256(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha256
hmacSha256(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha256
hmacSha256Hex(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha256 Hex
hmacSha256Hex(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha256 Hex
hmacSha384(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha384
hmacSha384(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha384
hmacSha384Hex(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha384 Hex
hmacSha384Hex(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha384 Hex
hmacSha512(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha512
hmacSha512(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha512
hmacSha512Hex(String, String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha512 Hex
hmacSha512Hex(byte[], String) - Static method in class org.tio.utils.mica.DigestUtils
hmacSha512 Hex
HTTP_DATE_FMT - Static variable in class org.tio.utils.hutool.DateUtil
 
HTTP_DATETIME_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
HTTP头中日期时间格式:EEE, dd MMM yyyy HH:mm:ss z
httpDate() - Static method in class org.tio.utils.hutool.DateUtil
当前时间生成符合http响应头中的Date格式的字符串
httpDate(TemporalAccessor) - Static method in class org.tio.utils.hutool.DateUtil
把date生成符合http响应头中的Date格式的字符串
httpDate(long) - Static method in class org.tio.utils.hutool.DateUtil
 
HuToolJsonAdapter - Class in org.tio.utils.json
hutool json 适配器
HuToolJsonAdapter() - Constructor for class org.tio.utils.json.HuToolJsonAdapter
 
HuToolJsonAdapter(JSONConfig) - Constructor for class org.tio.utils.json.HuToolJsonAdapter
 

I

index() - Method in class org.tio.utils.hutool.FastByteBuffer
当前缓冲位于缓冲区的索引位
INDEX_NOT_FOUND - Static variable in class org.tio.utils.hutool.ArrayUtil
数组中元素未找到的下标,值为-1
INDEX_NOT_FOUND - Static variable in class org.tio.utils.hutool.StrUtil
 
indexOf(ByteBuffer, char, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
indexOf(T[], Object) - Static method in class org.tio.utils.hutool.ArrayUtil
返回数组中指定元素所在位置,未找到返回ArrayUtil.INDEX_NOT_FOUND
indexOf(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找指定字符
indexOf(CharSequence, char, int) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找指定字符
indexOf(CharSequence, char, int, int) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找指定字符
indexOf(CharSequence, CharSequence, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内反向查找字符串
indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串,忽略大小写
StrUtil.indexOfIgnoreCase(null, *, *) = -1 StrUtil.indexOfIgnoreCase(*, null, *) = -1 StrUtil.indexOfIgnoreCase("", "", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2 StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串 StrUtil.indexOfIgnoreCase(null, *, *) = -1 StrUtil.indexOfIgnoreCase(*, null, *) = -1 StrUtil.indexOfIgnoreCase("", "", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2 StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
IntObjectHashMap<V> - Class in org.tio.utils.collection
A hash map implementation of IntObjectMap that uses open addressing for keys.
IntObjectHashMap() - Constructor for class org.tio.utils.collection.IntObjectHashMap
 
IntObjectHashMap(int) - Constructor for class org.tio.utils.collection.IntObjectHashMap
 
IntObjectHashMap(int, float) - Constructor for class org.tio.utils.collection.IntObjectHashMap
 
IntObjectMap<V> - Interface in org.tio.utils.collection
Interface for a primitive map that uses ints as keys.
IntObjectMap.PrimitiveEntry<V> - Interface in org.tio.utils.collection
A primitive entry in the map, provided by the iterator from IntObjectMap.entries()
IPropSupport - Interface in org.tio.utils.prop
属性支持接口
isArray(Object) - Static method in class org.tio.utils.hutool.ArrayUtil
对象是否为数组对象
isBlank(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否为空白 空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
isCanceled() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
isEmpty() - Method in class org.tio.utils.cache.AbstractCache
 
isEmpty() - Method in interface org.tio.utils.cache.Cache
缓存是否为空
isEmpty() - Method in class org.tio.utils.collection.IntObjectHashMap
 
isEmpty() - Method in class org.tio.utils.collection.MultiValueMap
 
isEmpty(Collection<?>) - Static method in class org.tio.utils.hutool.CollUtil
集合是否为空
isEmpty() - Method in class org.tio.utils.hutool.FastByteBuffer
 
isEmpty(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否为空,空的定义如下:
1、为null
2、为""
isExpired() - Method in class org.tio.utils.cache.CacheObj
判断是否过期
isFirstPage() - Method in class org.tio.utils.page.Page
 
isFull() - Method in class org.tio.utils.cache.AbstractCache
 
isFull() - Method in interface org.tio.utils.cache.Cache
缓存是否已满,仅用于有空间限制的缓存对象
isLastPage() - Method in class org.tio.utils.page.Page
 
isMatch(Pattern, String) - Static method in class org.tio.utils.hutool.Validator
通过正则表达式验证
isNeededExecute() - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
 
isNeededExecute() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
isNotBlank(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为不可见字符(如空格)
3、不为""
isNotEmpty(Collection<?>) - Static method in class org.tio.utils.hutool.CollUtil
集合是否为非空
isNumber(String) - Static method in class org.tio.utils.hutool.Validator
是否为数字
isPresent(String) - Static method in class org.tio.utils.hutool.ClassUtil
确定class是否可以被加载
isPruneExpiredActive() - Method in class org.tio.utils.cache.AbstractCache
只有设置公共缓存失效时长或每个对象单独的失效时长时清理可用
isRunning() - Method in class org.tio.utils.timer.TimingWheelThread
 
isShutdownInitiated() - Method in class org.tio.utils.timer.TimingWheelThread
 
isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false

J

JacksonJsonAdapter - Class in org.tio.utils.json
jackson json 适配器
JacksonJsonAdapter() - Constructor for class org.tio.utils.json.JacksonJsonAdapter
 
JacksonJsonAdapter(ObjectMapper) - Constructor for class org.tio.utils.json.JacksonJsonAdapter
 
JDK_DATETIME_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
JDK中日期时间格式:EEE MMM dd HH:mm:ss zzz yyyy
join(String[], String) - Static method in class org.tio.utils.hutool.ArrayUtil
join
join(Collection<?>) - Static method in class org.tio.utils.hutool.StrUtil
以 , 为分隔符将多个对象转换为字符串
join(Collection<?>, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
以 delimiter 为分隔符将多个对象转换为字符串
JsonAdapter - Interface in org.tio.utils.json
json 适配器
JsonUtil - Class in org.tio.utils.json
json 工具
JsonUtil() - Constructor for class org.tio.utils.json.JsonUtil
 

K

KEEP_ALIVE_TIME - Static variable in class org.tio.utils.thread.ThreadUtils
 
key - Variable in class org.tio.utils.cache.CacheObj
 
key() - Method in interface org.tio.utils.collection.IntObjectMap.PrimitiveEntry
Gets the key for this entry.
keyLockMap - Variable in class org.tio.utils.cache.AbstractCache
写的时候每个key一把锁,降低锁的粒度
keySet() - Method in class org.tio.utils.cache.AbstractCache
返回所有键
keySet() - Method in class org.tio.utils.collection.IntObjectHashMap
 
keySet() - Method in class org.tio.utils.collection.MultiValueMap
 
keyToString(int) - Method in class org.tio.utils.collection.IntObjectHashMap
Helper method called by IntObjectHashMap.toString() in order to convert a single map key into a string.

L

lastAccess - Variable in class org.tio.utils.cache.CacheObj
上次访问时间
lastIndexOf(CharSequence, CharSequence, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串
lastIndexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串,忽略大小写
lastIndexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串,忽略大小写
LEFT_BRACKET - Static variable in interface org.tio.utils.SysConst
左括号
LF - Static variable in interface org.tio.utils.SysConst
\n
LF_ - Static variable in interface org.tio.utils.SysConst
 
LF_LF - Static variable in interface org.tio.utils.SysConst
 
LFUCache<K extends Serializable,V extends Serializable> - Class in org.tio.utils.cache
LFU(least frequently used) 最少使用率缓存
根据使用次数来判定对象是否被持续缓存
使用率是通过访问次数计算的。
LFUCache(int) - Constructor for class org.tio.utils.cache.LFUCache
构造
LFUCache(int, long) - Constructor for class org.tio.utils.cache.LFUCache
构造
lineEnd(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
lineEnd(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
listener - Variable in class org.tio.utils.cache.AbstractCache
缓存监听
lock - Variable in class org.tio.utils.cache.ReentrantCache
 
logstr() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
lowerFirst(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
小写首字母
例如:str = Name, return name
LRUCache<K extends Serializable,V extends Serializable> - Class in org.tio.utils.cache
LRU (least recently used)最近最久未使用缓存
根据使用时间来判定对象是否被持续缓存
当对象被访问时放入缓存,当缓存满了,最久未被使用的对象将被移除。
LRUCache(int) - Constructor for class org.tio.utils.cache.LRUCache
构造
默认无超时
LRUCache(int, CacheListener<K, V>) - Constructor for class org.tio.utils.cache.LRUCache
构造
默认无超时
LRUCache(int, long) - Constructor for class org.tio.utils.cache.LRUCache
构造
LRUCache(int, long, CacheListener<K, V>) - Constructor for class org.tio.utils.cache.LRUCache
构造

M

Mapped - Class in org.tio.utils.queue
内存映射文件抽象
Mapped(Path, long, long) - Constructor for class org.tio.utils.queue.Mapped
 
MapPropSupport - Class in org.tio.utils.prop
 
MapPropSupport() - Constructor for class org.tio.utils.prop.MapPropSupport
 
MAX_POOL_SIZE_FOR_GROUP - Static variable in class org.tio.utils.thread.ThreadUtils
 
MAX_POOL_SIZE_FOR_TIO - Static variable in class org.tio.utils.thread.ThreadUtils
 
maxDataSize(long) - Method in class org.tio.utils.queue.FileQueue.Builder
 
maxFileSize(long) - Method in class org.tio.utils.queue.FileQueue.Builder
 
maxLength(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
限制字符串长度,如果超过指定长度,截取指定长度并在末尾加"..."
md5(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
Calculates the MD5 digest.
md5(String) - Static method in class org.tio.utils.mica.DigestUtils
Calculates the MD5 digest.
md5Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
Calculates the MD5 digest and returns the value as a 32 character hex string.
md5Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
Return a hexadecimal string representation of the MD5 digest of the given bytes.
missCount - Variable in class org.tio.utils.cache.AbstractCache
丢失数,即未命中缓存计数
MultiValueMap<K,V> - Class in org.tio.utils.collection
多值得 map
MultiValueMap() - Constructor for class org.tio.utils.collection.MultiValueMap
 
MultiValueMap(Map<K, Set<V>>) - Constructor for class org.tio.utils.collection.MultiValueMap
 

N

NetUtil - Class in org.tio.utils.hutool
网络工具
NetUtil() - Constructor for class org.tio.utils.hutool.NetUtil
 
newArray(Class<?>, int) - Static method in class org.tio.utils.hutool.ArrayUtil
新建一个空数组
newed - Variable in class org.tio.utils.queue.Mapped
 
newThread(Runnable) - Method in class org.tio.utils.thread.pool.DefaultThreadFactory
 
next - Variable in class org.tio.utils.timer.TimerTaskEntry
 
nextId() - Method in class org.tio.utils.hutool.Snowflake
下一个ID
NORM_DATE_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准日期格式:yyyy-MM-dd
NORM_DATETIME_MINUTE_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准日期时间格式,精确到分:yyyy-MM-dd HH:mm
NORM_DATETIME_MS_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准日期时间格式,精确到秒:yyyy-MM-dd HH:mm:ss
NORM_TIME_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准时间格式:HH:mm:ss
NULL - Static variable in interface org.tio.utils.SysConst
 

O

obj - Variable in class org.tio.utils.cache.CacheObj
 
offset() - Method in class org.tio.utils.hutool.FastByteBuffer
 
onRemove(K, V) - Method in class org.tio.utils.cache.AbstractCache
对象移除回调。
onRemove(K, V) - Method in interface org.tio.utils.cache.CacheListener
对象移除回调
org.tio.utils - package org.tio.utils
 
org.tio.utils.buffer - package org.tio.utils.buffer
 
org.tio.utils.cache - package org.tio.utils.cache
 
org.tio.utils.collection - package org.tio.utils.collection
 
org.tio.utils.compression - package org.tio.utils.compression
 
org.tio.utils.hutool - package org.tio.utils.hutool
 
org.tio.utils.json - package org.tio.utils.json
 
org.tio.utils.mica - package org.tio.utils.mica
 
org.tio.utils.page - package org.tio.utils.page
 
org.tio.utils.prop - package org.tio.utils.prop
 
org.tio.utils.queue - package org.tio.utils.queue
 
org.tio.utils.thread - package org.tio.utils.thread
 
org.tio.utils.thread.pool - package org.tio.utils.thread.pool
 
org.tio.utils.timer - package org.tio.utils.timer
 

P

Page<T> - Class in org.tio.utils.page
 
Page() - Constructor for class org.tio.utils.page.Page
 
Page(List<T>, Integer, Integer, Integer) - Constructor for class org.tio.utils.page.Page
 
Page(List<?>, Integer, Integer, Integer, Function<Object, T>) - Constructor for class org.tio.utils.page.Page
 
PageUtils - Class in org.tio.utils.page
 
PageUtils() - Constructor for class org.tio.utils.page.PageUtils
 
Pair<L,R> - Class in org.tio.utils.mica
Pair
Pair(L, R) - Constructor for class org.tio.utils.mica.Pair
 
parseToDate(String) - Static method in class org.tio.utils.hutool.DateUtil
 
parseToSqlDate(String) - Static method in class org.tio.utils.hutool.DateUtil
 
parseToTime(String) - Static method in class org.tio.utils.hutool.DateUtil
 
parseToTimestamp(String) - Static method in class org.tio.utils.hutool.DateUtil
 
partition(List<T>, int) - Static method in class org.tio.utils.hutool.CollUtil
list 分片
path(String) - Method in class org.tio.utils.queue.FileQueue.Builder
 
path(Path) - Method in class org.tio.utils.queue.FileQueue.Builder
 
pathname(Path, long, String) - Static method in class org.tio.utils.queue.Mapped
 
PayloadEncode - Enum in org.tio.utils.mica
消息正文编码
poll(Function<byte[], E>) - Method in class org.tio.utils.queue.FileQueue
 
prev - Variable in class org.tio.utils.timer.TimerTaskEntry
 
prune() - Method in interface org.tio.utils.cache.Cache
从缓存中清理过期对象,清理策略取决于具体实现
prune() - Method in class org.tio.utils.cache.ReentrantCache
 
pruneCache() - Method in class org.tio.utils.cache.AbstractCache
清理实现
子类实现此方法时无需加锁
pruneCache() - Method in class org.tio.utils.cache.FIFOCache
先进先出的清理策略
先遍历缓存清理过期的缓存对象,如果清理后还是满的,则删除第一个缓存对象
pruneCache() - Method in class org.tio.utils.cache.LFUCache
清理过期对象。
pruneCache() - Method in class org.tio.utils.cache.LRUCache
只清理超时对象,LRU的实现会交给LinkedHashMap
pruneCache() - Method in class org.tio.utils.cache.TimedCache
清理过期对象
PURE_DATE_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准日期格式:yyyyMMdd
PURE_DATETIME_MS_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准日期格式:yyyyMMddHHmmssSSS
PURE_DATETIME_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准日期格式:yyyyMMddHHmmss
PURE_TIME_PATTERN - Static variable in interface org.tio.utils.hutool.DatePattern
标准日期格式:HHmmss
put(K, V) - Method in class org.tio.utils.cache.AbstractCache
 
put(K, V) - Method in interface org.tio.utils.cache.Cache
将对象加入到缓存,使用默认失效时长
put(K, V, long) - Method in interface org.tio.utils.cache.Cache
将对象加入到缓存,使用指定失效时长
如果缓存空间满了,Cache.prune() 将被调用以获得空间来存放新对象
put(K, V, long) - Method in class org.tio.utils.cache.ReentrantCache
 
put(int, V) - Method in class org.tio.utils.collection.IntObjectHashMap
 
put(Integer, V) - Method in class org.tio.utils.collection.IntObjectHashMap
 
put(int, V) - Method in interface org.tio.utils.collection.IntObjectMap
Puts the given entry into the map.
put(K, Set<V>) - Method in class org.tio.utils.collection.MultiValueMap
 
put(E, Function<E, byte[]>) - Method in class org.tio.utils.queue.FileQueue
 
put(byte[]) - Method in class org.tio.utils.queue.FileQueue
 
putAll(Map<? extends Integer, ? extends V>) - Method in class org.tio.utils.collection.IntObjectHashMap
 
putAll(Map<? extends K, ? extends Set<V>>) - Method in class org.tio.utils.collection.MultiValueMap
 
putWithoutLock(K, V, long) - Method in class org.tio.utils.cache.AbstractCache
加入元素,无锁

R

readByte(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read byte
readBytes(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取 byte 数组
readDouble(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read double, 8个字节
readDoubleBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read double, 8个字节,大端在前
readDoubleLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read double, 8个字节,小端在前
readFloat(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read float, 4个字节,小端
readFloatBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read float, 4个字节,大端
readFloatLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read float, 4个字节,小端
readInt(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read int, 4个字节
readIntBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read int, 4个字节,大端在前
readIntLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read int, 4个字节,小端
readLine(ByteBuffer, Charset) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取一行
readLine(ByteBuffer, Charset, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
readList(String, Class<T>) - Method in class org.tio.utils.json.FastJson1JsonAdapter
 
readList(String, Class<T>) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
readList(byte[], Class<T>) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
readList(String, Class<T>) - Method in class org.tio.utils.json.GsonJsonAdapter
 
readList(String, Class<T>) - Method in class org.tio.utils.json.HuToolJsonAdapter
 
readList(String, Class<T>) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
readList(byte[], Class<T>) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
readList(String, Class<T>) - Method in interface org.tio.utils.json.JsonAdapter
将 json 字符串转成对象
readList(byte[], Class<T>) - Method in interface org.tio.utils.json.JsonAdapter
将 json byte array 转成对象
readList(String, Class<T>) - Static method in class org.tio.utils.json.JsonUtil
将 json 字符串转成对象集合
readList(byte[], Class<T>) - Static method in class org.tio.utils.json.JsonUtil
将 json byte array 转成对象集合
readList(String, Class<T>) - Method in class org.tio.utils.json.Snack3JsonAdapter
 
readLong(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read long, 8个字节
readLongBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read long, 8个字节,无符号,大端在前
readLongLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read long, 8个字节,无符号
readMedium(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取3个字节有符号
readMediumBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取3个字节有符号,大端在前
readMediumLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取3个字节有符号,小端在前
readShort(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取 short
readShortBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取 short,大端
readShortLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取 short,小端
readString(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取字符串
readString(ByteBuffer, int, Charset) - Static method in class org.tio.utils.buffer.ByteBufferUtil
读取字符串
readString(ByteBuffer, Charset, char, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
readUnsignedByte(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned byte,1个字节无符号
readUnsignedInt(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned int, 4个字节无符号
readUnsignedIntBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned int, 4个字节无符号,大端在前
readUnsignedIntLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned int, 4个字节无符号
readUnsignedLong(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read long, 8个字节,无符号
readUnsignedLongBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read long, 8个字节,无符号,大端在前
readUnsignedLongLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read long, 8个字节,无符号
readUnsignedMedium(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned 3个字节无符号
readUnsignedMediumBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned 3个字节无符号,大端在前
readUnsignedMediumLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned 3个字节无符号,小端在前
readUnsignedNByteBE(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read n 个字节无符号,大端在前
readUnsignedNByteLE(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read n 个字节无符号,小端在前
readUnsignedShort(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned short,2个字节无符号
readUnsignedShortBE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned short,2个字节无符号,大端在前
readUnsignedShortLE(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
read unsigned short,2个字节无符号
readValue(String, Class<T>) - Method in class org.tio.utils.json.FastJson1JsonAdapter
 
readValue(String, Type) - Method in class org.tio.utils.json.FastJson1JsonAdapter
 
readValue(byte[], Class<T>) - Method in class org.tio.utils.json.FastJson1JsonAdapter
 
readValue(byte[], Type) - Method in class org.tio.utils.json.FastJson1JsonAdapter
 
readValue(String, Class<T>) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
readValue(String, Type) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
readValue(byte[], Class<T>) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
readValue(byte[], Type) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
readValue(String, Class<T>) - Method in class org.tio.utils.json.GsonJsonAdapter
 
readValue(String, Type) - Method in class org.tio.utils.json.GsonJsonAdapter
 
readValue(String, Class<T>) - Method in class org.tio.utils.json.HuToolJsonAdapter
 
readValue(String, Type) - Method in class org.tio.utils.json.HuToolJsonAdapter
 
readValue(String, Class<T>) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
readValue(String, Type) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
readValue(byte[], Class<T>) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
readValue(byte[], Type) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
readValue(String, Class<T>) - Method in interface org.tio.utils.json.JsonAdapter
将 json 字符串转成对象
readValue(String, Type) - Method in interface org.tio.utils.json.JsonAdapter
将 json 字符串转成对象
readValue(byte[], Class<T>) - Method in interface org.tio.utils.json.JsonAdapter
将 json byte array 转成对象
readValue(byte[], Type) - Method in interface org.tio.utils.json.JsonAdapter
将 json byte array 转成对象
readValue(String, Class<T>) - Static method in class org.tio.utils.json.JsonUtil
将 json 字符串转成对象
readValue(String, Type) - Static method in class org.tio.utils.json.JsonUtil
将 json 字符串转成对象
readValue(byte[], Class<T>) - Static method in class org.tio.utils.json.JsonUtil
将 json byte array 转成对象
readValue(byte[], Type) - Static method in class org.tio.utils.json.JsonUtil
将 json byte array 转成对象
readValue(String, Class<T>) - Method in class org.tio.utils.json.Snack3JsonAdapter
 
readValue(String, Type) - Method in class org.tio.utils.json.Snack3JsonAdapter
 
ReentrantCache<K extends Serializable,V extends Serializable> - Class in org.tio.utils.cache
使用ReentrantLock保护的缓存,读写都使用悲观锁完成,主要避免某些Map无法使用读写锁的问题
例如使用了LinkedHashMap的缓存,由于get方法也会改变Map的结构,因此读写必须加互斥锁
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class org.tio.utils.thread.pool.TioCallerRunsPolicy
 
remove(K) - Method in interface org.tio.utils.cache.Cache
从缓存中移除对象
remove(K) - Method in class org.tio.utils.cache.ReentrantCache
 
remove(int) - Method in class org.tio.utils.collection.IntObjectHashMap
 
remove(Object) - Method in class org.tio.utils.collection.IntObjectHashMap
 
remove(int) - Method in interface org.tio.utils.collection.IntObjectMap
Removes the entry with the specified key.
remove(Object) - Method in class org.tio.utils.collection.MultiValueMap
 
remove(String) - Method in interface org.tio.utils.prop.IPropSupport
删除属性
remove(String) - Method in class org.tio.utils.prop.MapPropSupport
 
remove() - Method in class org.tio.utils.timer.TimerTaskEntry
 
removeWithoutLock(K) - Method in class org.tio.utils.cache.AbstractCache
移除key对应的对象,不加锁
repeat(char, int) - Static method in class org.tio.utils.hutool.StrUtil
重复某个字符
replace(String, String, String) - Static method in class org.tio.utils.hutool.StrUtil
Replace all occurrences of a substring within a string with another string.
reset() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
reset() - Method in class org.tio.utils.hutool.FastByteBuffer
重置,用于复用
ResourceUtil - Class in org.tio.utils.hutool
资源工具类
ResourceUtil() - Constructor for class org.tio.utils.hutool.ResourceUtil
 
RIGHT_BRACKET - Static variable in interface org.tio.utils.SysConst
右括号
run() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
run() - Method in class org.tio.utils.timer.TimingWheelThread
 
runningLock - Variable in class org.tio.utils.thread.pool.AbstractSynRunnable
 
runTask() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
执行任务

S

schedulePrune(long) - Method in class org.tio.utils.cache.TimedCache
定时清理
SEMI_COL - Static variable in interface org.tio.utils.SysConst
;
set(K, V) - Method in class org.tio.utils.collection.MultiValueMap
 
set(String, Object) - Method in interface org.tio.utils.prop.IPropSupport
设置属性
set(String, Object) - Method in class org.tio.utils.prop.MapPropSupport
 
setAll(Map<K, V>) - Method in class org.tio.utils.collection.MultiValueMap
 
setBoolean(int, boolean) - Method in class org.tio.utils.hutool.FastByteBuffer
设置 boolean 值,true 为 1,false 为 0
setByte(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
设定指定位置的字节
setBytes(int, byte[]) - Method in class org.tio.utils.hutool.FastByteBuffer
设置指定 index 的 byte
setBytes(int, byte[], int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
设置字节
setCanceled(boolean) - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
setDoubleBE(int, double) - Method in class org.tio.utils.hutool.FastByteBuffer
写出双精度浮点
setDoubleLE(int, double) - Method in class org.tio.utils.hutool.FastByteBuffer
写出双精度浮点
setFloatBE(int, float) - Method in class org.tio.utils.hutool.FastByteBuffer
写出单精度浮点
setFloatLE(int, float) - Method in class org.tio.utils.hutool.FastByteBuffer
写出单精度浮点
setIntBE(int, long) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 4 个字节,大端模式
setIntLE(int, long) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 4 个字节,小端模式
setList(List<T>) - Method in class org.tio.utils.page.Page
 
setList(TimerTaskList) - Method in class org.tio.utils.timer.TimerTaskEntry
 
setListener(CacheListener<K, V>) - Method in class org.tio.utils.cache.AbstractCache
设置监听
setListener(CacheListener<K, V>) - Method in interface org.tio.utils.cache.Cache
设置监听
setListener(CacheListener<K, V>) - Method in class org.tio.utils.cache.LRUCache
 
setLongBE(int, long) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 8 个字节,大端模式
setLongLE(int, long) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 8 个字节,小端模式
setMediumBE(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 3 个字节,大端模式
setMediumLE(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 3 个字节,小端模式
setPageNumber(Integer) - Method in class org.tio.utils.page.Page
 
setPageSize(Integer) - Method in class org.tio.utils.page.Page
 
setShortBE(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 short,大端模式
setShortLE(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 short,小端模式
setTimerTaskEntry(TimerTaskEntry) - Method in class org.tio.utils.timer.TimerTask
 
setTotalPage(Integer) - Method in class org.tio.utils.page.Page
 
setTotalRow(Integer) - Method in class org.tio.utils.page.Page
 
setValue(V) - Method in interface org.tio.utils.collection.IntObjectMap.PrimitiveEntry
Sets the value for this entry.
sha1(String) - Static method in class org.tio.utils.mica.DigestUtils
sha1
sha1(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
sha1
sha1Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
sha1Hex
sha1Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
sha1Hex
sha224(String) - Static method in class org.tio.utils.mica.DigestUtils
SHA224
sha224(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
SHA224
sha224Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
SHA224Hex
sha224Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
SHA224Hex
sha256(String) - Static method in class org.tio.utils.mica.DigestUtils
sha256Hex
sha256(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
sha256Hex
sha256Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
sha256Hex
sha256Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
sha256Hex
sha384(String) - Static method in class org.tio.utils.mica.DigestUtils
sha384
sha384(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
sha384
sha384Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
sha384Hex
sha384Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
sha384Hex
sha512(String) - Static method in class org.tio.utils.mica.DigestUtils
sha512Hex
sha512(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
sha512Hex
sha512Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
sha512Hex
sha512Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
sha512Hex
shutdown() - Method in class org.tio.utils.timer.SystemTimer
 
shutdown() - Method in interface org.tio.utils.timer.Timer
关闭定时器服务,待执行的任务将不会被执行
shutdown() - Method in class org.tio.utils.timer.TimingWheelThread
 
size() - Method in class org.tio.utils.cache.AbstractCache
 
size() - Method in interface org.tio.utils.cache.Cache
缓存的对象数量
size() - Method in class org.tio.utils.collection.IntObjectHashMap
 
size() - Method in class org.tio.utils.collection.MultiValueMap
 
size() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
size() - Method in class org.tio.utils.hutool.FastByteBuffer
 
size() - Method in class org.tio.utils.timer.SystemTimer
 
size() - Method in interface org.tio.utils.timer.Timer
取得待执行的任务数量
skipBytes(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
skip bytes
SLASH - Static variable in interface org.tio.utils.SysConst
斜扛
sleep(long) - Static method in class org.tio.utils.thread.ThreadUtils
挂起当前线程
slowEquals(String, String) - Static method in class org.tio.utils.mica.DigestUtils
比较字符串,避免字符串因为过长,产生耗时
slowEquals(byte[], byte[]) - Static method in class org.tio.utils.mica.DigestUtils
比较 byte 数组,避免字符串因为过长,产生耗时
Snack3JsonAdapter - Class in org.tio.utils.json
hutool json 适配器
Snack3JsonAdapter() - Constructor for class org.tio.utils.json.Snack3JsonAdapter
 
Snack3JsonAdapter(Options) - Constructor for class org.tio.utils.json.Snack3JsonAdapter
 
Snowflake - Class in org.tio.utils.hutool
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
Snowflake(long, long) - Constructor for class org.tio.utils.hutool.Snowflake
构造
SPACE - Static variable in interface org.tio.utils.SysConst
一个空格
SPACE_ - Static variable in interface org.tio.utils.SysConst
 
split(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
 
split(String, String) - Static method in class org.tio.utils.hutool.StrUtil
split str
stackTrace() - Static method in class org.tio.utils.thread.ThreadUtils
stackTrace
start() - Method in class org.tio.utils.timer.DefaultTimerTaskService
 
start() - Method in interface org.tio.utils.timer.TimerTaskService
启动
startWith(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
startWith(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否以给定字符开始
startWith(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串开头
startWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串开头,忽略大小写
stop() - Method in class org.tio.utils.timer.DefaultTimerTaskService
 
stop() - Method in interface org.tio.utils.timer.TimerTaskService
停止
str(Object, String) - Static method in class org.tio.utils.hutool.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(Object, Charset) - Static method in class org.tio.utils.hutool.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
CharSequence 转为字符串,null安全
STR_AMP - Static variable in interface org.tio.utils.SysConst
&
STR_COL - Static variable in interface org.tio.utils.SysConst
:
STR_EQ - Static variable in interface org.tio.utils.SysConst
=
streamToString(InputStream) - Static method in class org.tio.utils.hutool.ResourceUtil
读取流
StrTemplateParser - Class in org.tio.utils.mica
字符串模板解析
StrTemplateParser(String) - Constructor for class org.tio.utils.mica.StrTemplateParser
构造函数
StrUtil - Class in org.tio.utils.hutool
 
StrUtil() - Constructor for class org.tio.utils.hutool.StrUtil
 
sub(CharSequence, int, int) - Static method in class org.tio.utils.hutool.StrUtil
改进JDK subString
index从0开始计算,最后一个字符为-1
如果from和to位置一样,返回 ""
如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length
如果经过修正的index中from大于to,则互换from和to example:
abcdefgh 2 3 =》 c
abcdefgh 2 -3 =》 cde
subAfter(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串 栗子: StrUtil.subAfter(null, *) = null StrUtil.subAfter("", *) = "" StrUtil.subAfter(*, null) = "" StrUtil.subAfter("abc", "a") = "bc" StrUtil.subAfter("abcba", "b") = "cba" StrUtil.subAfter("abc", "c") = "" StrUtil.subAfter("abc", "d") = "" StrUtil.subAfter("abc", "") = "abc"
subBefore(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串 栗子: StrUtil.subBefore(null, *) = null StrUtil.subBefore("", *) = "" StrUtil.subBefore("abc", "a") = "" StrUtil.subBefore("abcba", "b") = "a" StrUtil.subBefore("abc", "c") = "ab" StrUtil.subBefore("abc", "d") = "abc" StrUtil.subBefore("abc", "") = "" StrUtil.subBefore("abc", null) = "abc"
subBetween(CharSequence, CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
截取指定字符串中间部分,不包括标识字符串
栗子: StrUtil.subBetween("wx[b]yz", "[", "]") = "b" StrUtil.subBetween(null, *, *) = null StrUtil.subBetween(*, null, *) = null StrUtil.subBetween(*, *, null) = null StrUtil.subBetween("", "", "") = "" StrUtil.subBetween("", "", "]") = null StrUtil.subBetween("", "[", "]") = null StrUtil.subBetween("yabcz", "", "") = "" StrUtil.subBetween("yabcz", "y", "z") = "abc" StrUtil.subBetween("yabczyabcz", "y", "z") = "abc"
subBetween(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
截取指定字符串中间部分,不包括标识字符串
栗子: StrUtil.subBetween(null, *) = null StrUtil.subBetween("", "") = "" StrUtil.subBetween("", "tag") = null StrUtil.subBetween("tagabctag", null) = null StrUtil.subBetween("tagabctag", "") = "" StrUtil.subBetween("tagabctag", "tag") = "abc"
submit(Runnable, R) - Method in class org.tio.utils.thread.pool.SynThreadPoolExecutor
 
subPre(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
切割指定位置之前部分的字符串
subPreGbk(CharSequence, int, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
截取部分字符串,这里一个汉字的长度认为是2
subSuf(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
切割指定位置之后部分的字符串
subSufByLength(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
切割指定长度的后部分的字符串 StrUtil.subSufByLength("abcde", 3) = "cde" StrUtil.subSufByLength("abcde", 0) = "" StrUtil.subSufByLength("abcde", -5) = "" StrUtil.subSufByLength("abcde", -1) = "" StrUtil.subSufByLength("abcde", 5) = "abcde" StrUtil.subSufByLength("abcde", 10) = "abcde" StrUtil.subSufByLength(null, 3) = null
subWithLength(String, int, int) - Static method in class org.tio.utils.hutool.StrUtil
截取字符串,从指定位置开始,截取指定长度的字符串
author weibaohui
SynThreadPoolExecutor - Class in org.tio.utils.thread.pool
 
SynThreadPoolExecutor(int, int, long, BlockingQueue<Runnable>, ThreadFactory) - Constructor for class org.tio.utils.thread.pool.SynThreadPoolExecutor
 
SynThreadPoolExecutor(int, int, long, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Constructor for class org.tio.utils.thread.pool.SynThreadPoolExecutor
 
SysConst - Interface in org.tio.utils
 
SystemTimer - Class in org.tio.utils.timer
SystemTimer
SystemTimer() - Constructor for class org.tio.utils.timer.SystemTimer
 
SystemTimer(String) - Constructor for class org.tio.utils.timer.SystemTimer
 
SystemTimer(long, int, String) - Constructor for class org.tio.utils.timer.SystemTimer
 
SystemTimer(long, int, long, String) - Constructor for class org.tio.utils.timer.SystemTimer
 

T

take(Function<byte[], E>) - Method in class org.tio.utils.queue.FileQueue
 
ThreadUtils - Class in org.tio.utils.thread
 
TimedCache<K extends Serializable,V extends Serializable> - Class in org.tio.utils.cache
定时缓存
此缓存没有容量限制,对象只有在过期后才会被移除
TimedCache(long) - Constructor for class org.tio.utils.cache.TimedCache
构造
TimedCache(long, Map<K, CacheObj<K, V>>) - Constructor for class org.tio.utils.cache.TimedCache
构造
TimedCache(long, long) - Constructor for class org.tio.utils.cache.TimedCache
构造
TimedCache(long, long, Map<K, CacheObj<K, V>>) - Constructor for class org.tio.utils.cache.TimedCache
构造
timeout - Variable in class org.tio.utils.cache.AbstractCache
缓存失效时长, 0 表示无限制,单位毫秒
timeout() - Method in class org.tio.utils.cache.AbstractCache
 
timeout() - Method in interface org.tio.utils.cache.Cache
缓存失效时长, 0 表示没有设置,单位毫秒
Timer - Interface in org.tio.utils.timer
Timer
TimerTask - Class in org.tio.utils.timer
TimerTask
TimerTask() - Constructor for class org.tio.utils.timer.TimerTask
 
TimerTask(long) - Constructor for class org.tio.utils.timer.TimerTask
 
TimerTask(long, TimeUnit) - Constructor for class org.tio.utils.timer.TimerTask
 
timerTaskEntry - Variable in class org.tio.utils.timer.TimerTask
时间槽
TimerTaskEntry - Class in org.tio.utils.timer
封装定时任务
TimerTaskEntry(TimerTask, long) - Constructor for class org.tio.utils.timer.TimerTaskEntry
构造器
TimerTaskService - Interface in org.tio.utils.timer
TimerTask service
TimingWheel - Class in org.tio.utils.timer
Hierarchical Timing Wheels A simple timing wheel is a circular list of buckets of timer tasks.
TimingWheel(long, int, long, LongAdder, DelayQueue<TimerTaskList>) - Constructor for class org.tio.utils.timer.TimingWheel
 
TimingWheelThread - Class in org.tio.utils.timer
TimingWheelThread
TimingWheelThread(Timer) - Constructor for class org.tio.utils.timer.TimingWheelThread
 
TimingWheelThread(Timer, long) - Constructor for class org.tio.utils.timer.TimingWheelThread
 
TioCallerRunsPolicy - Class in org.tio.utils.thread.pool
 
TioCallerRunsPolicy() - Constructor for class org.tio.utils.thread.pool.TioCallerRunsPolicy
 
toArray() - Method in class org.tio.utils.hutool.FastByteBuffer
返回快速缓冲中的数据
toArray(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
返回快速缓冲中的数据
toBuffer() - Method in class org.tio.utils.hutool.FastByteBuffer
转换成数组
toByteArray() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
转为Byte数组
toHexString(byte[]) - Static method in class org.tio.utils.buffer.ByteBufferUtil
以16进制 打印字节数组
toJsonBytes(Object) - Method in class org.tio.utils.json.FastJson1JsonAdapter
 
toJsonBytes(Object) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
toJsonBytes(Object) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
toJsonBytes(Object) - Method in interface org.tio.utils.json.JsonAdapter
转换成 json byte array
toJsonBytes(Object) - Static method in class org.tio.utils.json.JsonUtil
转换成 json byte array
toJsonString(Object) - Method in class org.tio.utils.json.FastJson1JsonAdapter
 
toJsonString(Object) - Method in class org.tio.utils.json.FastJson2JsonAdapter
 
toJsonString(Object) - Method in class org.tio.utils.json.GsonJsonAdapter
 
toJsonString(Object) - Method in class org.tio.utils.json.HuToolJsonAdapter
 
toJsonString(Object) - Method in class org.tio.utils.json.JacksonJsonAdapter
 
toJsonString(Object) - Method in interface org.tio.utils.json.JsonAdapter
转换成 json 字符串
toJsonString(Object) - Static method in class org.tio.utils.json.JsonUtil
转换成 json 字符串
toJsonString(Object) - Method in class org.tio.utils.json.Snack3JsonAdapter
 
toString(ByteBuffer) - Static method in class org.tio.utils.buffer.ByteBufferUtil
转成 string,读取 ByteBuffer 所有数据
toString(ByteBuffer, Charset) - Static method in class org.tio.utils.buffer.ByteBufferUtil
转成 string,读取 ByteBuffer 所有数据
toString(byte[]) - Static method in class org.tio.utils.buffer.ByteBufferUtil
转成 string
toString(byte[], Charset) - Static method in class org.tio.utils.buffer.ByteBufferUtil
转成 string
toString() - Method in class org.tio.utils.cache.AbstractCache
 
toString() - Method in class org.tio.utils.cache.CacheObj
 
toString() - Method in class org.tio.utils.cache.ReentrantCache
 
toString() - Method in class org.tio.utils.collection.IntObjectHashMap
 
toString(Object) - Static method in class org.tio.utils.hutool.ArrayUtil
toString
toString() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
toString(String) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
转为字符串
toString(Charset) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
转为字符串
toString() - Method in class org.tio.utils.mica.Pair
 
toString() - Method in class org.tio.utils.page.Page
 
trim(String) - Static method in class org.tio.utils.hutool.StrUtil
去除字符串两边空白符,传入null也返回null
trimEnd(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
除去字符串尾部的空白,如果字符串是null,则返回null
trimStart(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
除去字符串头部的空白,如果字符串是null,则返回null
ttl - Variable in class org.tio.utils.cache.CacheObj
对象存活时长,0表示永久存活

U

unchecked(Throwable) - Static method in class org.tio.utils.mica.ExceptionUtils
将CheckedException转换为UncheckedException.
unGzip(byte[]) - Static method in class org.tio.utils.hutool.ZipUtil
Gzip 解压
unGzip(byte[], int) - Static method in class org.tio.utils.hutool.ZipUtil
Gzip 解压
unwrap(Throwable) - Static method in class org.tio.utils.mica.ExceptionUtils
代理异常解包
upperFirst(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
大写首字母
例如:str = name, return Name
utf8Str(Object) - Static method in class org.tio.utils.hutool.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法

V

Validator - Class in org.tio.utils.hutool
 
Validator() - Constructor for class org.tio.utils.hutool.Validator
 
value() - Method in interface org.tio.utils.collection.IntObjectMap.PrimitiveEntry
Gets the value for this entry.
valueOf(String) - Static method in enum org.tio.utils.buffer.ByteBufferAllocator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.utils.mica.PayloadEncode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.tio.utils.buffer.ByteBufferAllocator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.tio.utils.collection.IntObjectHashMap
 
values() - Method in class org.tio.utils.collection.MultiValueMap
 
values() - Static method in enum org.tio.utils.mica.PayloadEncode
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in org.tio.utils
读取版本信息

W

write(byte[], int, int) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
write(int) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
writeBoolean(boolean) - Method in class org.tio.utils.hutool.FastByteBuffer
写出一个 boolean 值,true 为 1,false 为 0
writeByte(ByteBuffer, short) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 1 个字节的无符号 byte
writeByte(int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出一个byte类型的数据
writeBytes(byte[]) - Method in class org.tio.utils.hutool.FastByteBuffer
写出一个bytes类型的数据
writeBytes(byte[], int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出一个bytes类型的数据
writeDouble(ByteBuffer, double) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 8 个字节的 value
writeDoubleBE(ByteBuffer, double) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 8 个字节的 value,大端模式
writeDoubleBE(double) - Method in class org.tio.utils.hutool.FastByteBuffer
写出双精度浮点
writeDoubleLE(ByteBuffer, double) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 8 个字节的 value,小端模式
writeDoubleLE(double) - Method in class org.tio.utils.hutool.FastByteBuffer
写出双精度浮点
writeFloat(ByteBuffer, float) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 4 个字节的 float
writeFloatBE(ByteBuffer, float) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 4 个字节的 float,大端模式
writeFloatBE(float) - Method in class org.tio.utils.hutool.FastByteBuffer
写出单精度浮点
writeFloatLE(ByteBuffer, float) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 4 个字节的 float,小端模式
writeFloatLE(float) - Method in class org.tio.utils.hutool.FastByteBuffer
写出单精度浮点
writeIntBE(ByteBuffer, long) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 4 个字节的 int,大端模式
writeIntBE(long) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 4 个字节,大端模式
writeIntLE(ByteBuffer, long) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 4 个字节的 int,小端模式
writeIntLE(long) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 4 个字节,小端模式
writeLongBE(ByteBuffer, long) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 8 个字节的 long,大端模式
writeLongBE(long) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 8 个字节,大端模式
writeLongLE(ByteBuffer, long) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 8 个字节的 long,小端模式
writeLongLE(long) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 8 个字节,小端模式
writeMediumBE(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 3 个字节的无符号,大端模式
writeMediumBE(int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 3 个字节,大端模式
writeMediumLE(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 3 个字节的无符号
writeMediumLE(int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 3 个字节,小端模式
writeShortBE(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 2 个字节的 short,大端模式
writeShortBE(int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 short,大端模式
writeShortLE(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
写出 2 个字节的 short,小端模式
writeShortLE(int) - Method in class org.tio.utils.hutool.FastByteBuffer
写出 short,小端模式
writeString(String) - Method in class org.tio.utils.hutool.FastByteBuffer
写出文本
writeString(String, String) - Method in class org.tio.utils.hutool.FastByteBuffer
写出文本
writeString(String, Charset) - Method in class org.tio.utils.hutool.FastByteBuffer
写出文本
writeTo(OutputStream) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
写出
writeVarLengthInt(int) - Method in class org.tio.utils.hutool.FastByteBuffer
写可变长度整数

Z

ZipUtil - Class in org.tio.utils.hutool
Zip工具类
ZipUtil() - Constructor for class org.tio.utils.hutool.ZipUtil
 
A B C D E F G H I J K L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2025. All rights reserved.