B C D F G H I J L M N O P S T
B
- Bag(int) - 类 的构造器me.hekr.iotos.softgateway.common.utils.TimedCachedBlockingQueue.Bag
-
- build() - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
如果名字一样,则返回已经存在的
- Builder() - 类 的构造器me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- byte2int(byte) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.ParseUtil
-
byte转为十进制int
C
- close() - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil
-
close.
- convert(Object, Class<T>) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
convert.
- convert(Object, TypeReference<T>) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
convert.
D
- DEFAULT_SCHEDULED - 类 中的静态变量me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil
-
Constant DEFAULT_SCHEDULED
- DEFAULT_UNCAUGHT_EXCEPTION_HANDLER - 类 中的静态变量me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil
-
Constant DEFAULT_UNCAUGHT_EXCEPTION_HANDLER
F
- fromBase64(String, Class<T>) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
fromBase64.
- fromBase64(String, TypeReference<T>) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
fromBase64.
- fromBytes(byte[], Class<T>) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
fromBytes.
- fromBytes(byte[], TypeReference<T>) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
fromBytes.
- fromJson(String, Class<T>) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
fromJson.
- fromJson(String, TypeReference<T>) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
fromJson.
G
- get(String) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil
-
get.
- getAll() - 类 中的方法me.hekr.iotos.softgateway.common.utils.TimedCachedBlockingQueue.Bag
-
- getFuture() - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.SingleThreadPoolExecutor
-
- getOrDefault0(Double) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.NumberUtil
-
getOrDefault0.
- getOrDefault0(Integer) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.NumberUtil
-
getOrDefault0.
- getOrDefault0(Long) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.NumberUtil
-
getOrDefault0.
- getSize() - 类 中的方法me.hekr.iotos.softgateway.common.utils.TimedCachedBlockingQueue.Bag
-
H
- HASH_METHOD - 类 中的静态变量me.hekr.iotos.softgateway.common.utils.ParseUtil
-
hash加密方法
- hmacSHA1Encrypt(String, String) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.ParseUtil
-
sign值计算
I
- isFull() - 类 中的方法me.hekr.iotos.softgateway.common.utils.TimedCachedBlockingQueue.Bag
-
J
- JsonUtil - me.hekr.iotos.softgateway.common.utils中的类
-
json工具类,用于完成对象与json之间的转换
时间格式化默认为 GMT+8
- JsonUtil() - 类 的构造器me.hekr.iotos.softgateway.common.utils.JsonUtil
-
L
- logAllThreadException(boolean) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil
-
是否开启记录所有的线程异常信息,建议开启,默认开启
M
- me.hekr.iotos.softgateway.common.utils - 程序包 me.hekr.iotos.softgateway.common.utils
-
N
- NumberUtil - me.hekr.iotos.softgateway.common.utils中的类
-
NumberUtil class.
- NumberUtil() - 类 的构造器me.hekr.iotos.softgateway.common.utils.NumberUtil
-
O
- offer(T) - 类 中的方法me.hekr.iotos.softgateway.common.utils.TimedCachedBlockingQueue.Bag
-
P
- parse(String) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
parse.
- parseByte2HexStr(byte[]) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.ParseUtil
-
数据格式转为string
- ParseUtil - me.hekr.iotos.softgateway.common.utils中的类
-
用于格式转换以及hash加密算法
- ParseUtil() - 类 的构造器me.hekr.iotos.softgateway.common.utils.ParseUtil
-
- poll(long, TimeUnit) - 类 中的方法me.hekr.iotos.softgateway.common.utils.TimedCachedBlockingQueue
-
拉取背包(注意该方法不能使用 synchronized, 会和 put 方法发生死锁)
- put(T) - 类 中的方法me.hekr.iotos.softgateway.common.utils.TimedCachedBlockingQueue
-
放入元素(阻塞)
S
- setCore(int) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- setCoresDynamic(int) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
设置core和max根据cpu核数根据cpu核数设置
- setHandler(RejectedExecutionHandler) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- setKeepAliveTime(long) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- setMax(int) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- setPrefix(String) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- setQueueSize(int) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- setScheduled(boolean) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- setTimeUnit(TimeUnit) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
设置异常处理
- SingleThreadPoolExecutor(String) - 类 的构造器me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.SingleThreadPoolExecutor
-
- submit(Runnable) - 类 中的方法me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.SingleThreadPoolExecutor
-
T
- ThreadPoolUtil - me.hekr.iotos.softgateway.common.utils中的类
-
ThreadPoolUtil class.
- ThreadPoolUtil() - 类 的构造器me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil
-
- ThreadPoolUtil.Builder - me.hekr.iotos.softgateway.common.utils中的类
-
- ThreadPoolUtil.SingleThreadPoolExecutor - me.hekr.iotos.softgateway.common.utils中的类
-
单进程 executor
如果新提交,有正在运行的任务,取消掉; 如果队列满,则丢弃最旧的。
- TimedCachedBlockingQueue<T> - me.hekr.iotos.softgateway.common.utils中的类
-
定时, 固定缓存大小的queue。
- TimedCachedBlockingQueue(String, int, TimeUnit, int, int) - 类 的构造器me.hekr.iotos.softgateway.common.utils.TimedCachedBlockingQueue
-
总数量为 batchSize * queueSize
- TimedCachedBlockingQueue.Bag<T> - me.hekr.iotos.softgateway.common.utils中的类
-
背包
- toBase64(Object) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
toBase64.
- toBytes(Object) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
toBytes.
- toJson(Object) - 类 中的静态方法me.hekr.iotos.softgateway.common.utils.JsonUtil
-
toJson.
B C D F G H I J L M N O P S T
Copyright © 2023. All rights reserved.