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

A

Admin4jException - Exception in com.admin4j.common.exception
基础异常
Admin4jException(Throwable) - Constructor for exception com.admin4j.common.exception.Admin4jException
 
Admin4jException(String, Throwable) - Constructor for exception com.admin4j.common.exception.Admin4jException
 
Admin4jException(IResponse) - Constructor for exception com.admin4j.common.exception.Admin4jException
 
Admin4jException(int, String) - Constructor for exception com.admin4j.common.exception.Admin4jException
 
Admin4jException(String) - Constructor for exception com.admin4j.common.exception.Admin4jException
 
Admin4jException(IResponse, String) - Constructor for exception com.admin4j.common.exception.Admin4jException
 
Admin4jException(IResponse, Object[], String) - Constructor for exception com.admin4j.common.exception.Admin4jException
 
Admin4jException(IResponse, Object[], String, Throwable) - Constructor for exception com.admin4j.common.exception.Admin4jException
 
args - Variable in exception com.admin4j.common.exception.Admin4jException
异常消息参数
Assert - Interface in com.admin4j.common.assertion
 
AssertException - Exception in com.admin4j.common.assertion
 
AssertException(IResponse, Throwable) - Constructor for exception com.admin4j.common.assertion.AssertException
 
AssertException(IResponse, Throwable, String) - Constructor for exception com.admin4j.common.assertion.AssertException
 
AssertException(IResponse, String) - Constructor for exception com.admin4j.common.assertion.AssertException
 

B

BigDecimalUtil - Class in com.admin4j.common
 
BigDecimalUtil() - Constructor for class com.admin4j.common.BigDecimalUtil
 
BizException - Exception in com.admin4j.common.exception
业务异常
BizException(Throwable) - Constructor for exception com.admin4j.common.exception.BizException
 
BizException(String) - Constructor for exception com.admin4j.common.exception.BizException
 
BizException(IResponse, Object[], String) - Constructor for exception com.admin4j.common.exception.BizException
 
BizException(IResponse, Object[], String, Throwable) - Constructor for exception com.admin4j.common.exception.BizException
 

C

code - Variable in exception com.admin4j.common.exception.Admin4jException
 
code - Variable in enum com.admin4j.common.pojo.ResponseEnum
状态码
com.admin4j.common - package com.admin4j.common
 
com.admin4j.common.assertion - package com.admin4j.common.assertion
 
com.admin4j.common.exception - package com.admin4j.common.exception
 
com.admin4j.common.pojo - package com.admin4j.common.pojo
 
com.admin4j.common.time - package com.admin4j.common.time
 
compareTo(Prioritized) - Method in interface com.admin4j.common.Prioritized
数字越大排序越靠前

D

datacenterId - Variable in class com.admin4j.common.SnowflakeIdWorker
数据标识 ID 部分
datacenterIdBits - Variable in class com.admin4j.common.SnowflakeIdWorker
 
datacenterIdShift - Variable in class com.admin4j.common.SnowflakeIdWorker
 
DateTimeFormatterConstant - Class in com.admin4j.common.time
 
DateTimeFormatterConstant() - Constructor for class com.admin4j.common.time.DateTimeFormatterConstant
 
day(LocalDate, LocalDate) - Static method in class com.admin4j.common.time.TimeDifferUtil
相差几天
day(LocalDateTime, LocalDateTime) - Static method in class com.admin4j.common.time.TimeDifferUtil
相差几天
DEFAULT_ZONE_OFFSET - Static variable in class com.admin4j.common.time.LocalDateUtil
 

E

equals(Object, Object, String) - Method in interface com.admin4j.common.assertion.Assert
断言对象o1与对象o2相等,此处的相等指(o1.equals(o2)为true)。 如果两对象不相等,则抛出异常
equals(Object, Object, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言对象o1与对象o2相等,此处的相等指(o1.equals(o2)为true)。 如果两对象不相等,则抛出异常

F

fail(Throwable) - Method in interface com.admin4j.common.assertion.Assert
直接抛出异常,并包含原异常信息
fail(String) - Method in interface com.admin4j.common.assertion.Assert
直接抛出异常
fail(String, Throwable) - Method in interface com.admin4j.common.assertion.Assert
直接抛出异常,并包含原异常信息
fail(String, Throwable, Object...) - Method in interface com.admin4j.common.assertion.Assert
直接抛出异常,并包含原异常信息

G

getClassType() - Method in class com.admin4j.common.TargetType
 
getCode() - Method in interface com.admin4j.common.pojo.IResponse
返回码
getDatacenterId(long) - Method in class com.admin4j.common.SnowflakeIdWorker
数据标识id部分
getInetAddress() - Method in class com.admin4j.common.SnowflakeIdWorker
 
getLocalHost() - Method in class com.admin4j.common.SnowflakeIdWorker
 
getMaxWorkerId(long, long) - Method in class com.admin4j.common.SnowflakeIdWorker
获取 maxWorkerId
getMsg() - Method in exception com.admin4j.common.exception.Admin4jException
 
getMsg() - Method in interface com.admin4j.common.pojo.IResponse
返回消息
getPriority() - Method in interface com.admin4j.common.Prioritized
Get the priority
getType() - Method in class com.admin4j.common.TargetType
 

H

hour(LocalDateTime, LocalDateTime) - Static method in class com.admin4j.common.time.TimeDifferUtil
相差几小时
HOUR_8 - Static variable in class com.admin4j.common.BigDecimalUtil
 

I

inetAddress - Variable in class com.admin4j.common.SnowflakeIdWorker
 
IResponse - Interface in com.admin4j.common.pojo
 
isEmpty(BigDecimal) - Static method in class com.admin4j.common.BigDecimalUtil
 
isFalse(boolean, String) - Method in interface com.admin4j.common.assertion.Assert
断言布尔值expression为false。如果布尔值expression为true,则抛出异常
isFalse(boolean, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言布尔值expression为false。如果布尔值expression为true,则抛出异常
isNull(Object, String) - Method in interface com.admin4j.common.assertion.Assert
断言对象objnull。如果对象obj不为null,则抛出异常
isNull(Object, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言对象objnull。如果对象obj不为null,则抛出异常
ISO_UTC_2MS_FORMAT - Static variable in class com.admin4j.common.time.DateTimeFormatterConstant
两位小数 UTC 2022-09-27T22:08:00.00Z
ISO_UTC_3MS_FORMAT - Static variable in class com.admin4j.common.time.DateTimeFormatterConstant
UTC 2022-09-27T22:08:00.000Z
ISO_UTC_FORMAT - Static variable in class com.admin4j.common.time.DateTimeFormatterConstant
 
isTrue(boolean, String) - Method in interface com.admin4j.common.assertion.Assert
断言布尔值expression为true。如果布尔值expression为false,则抛出异常
isTrue(boolean, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言布尔值expression为true。如果布尔值expression为false,则抛出异常

L

lastTimestamp - Variable in class com.admin4j.common.SnowflakeIdWorker
上次生产 ID 时间戳
LocalDateUtil - Class in com.admin4j.common.time
 
LocalDateUtil() - Constructor for class com.admin4j.common.time.LocalDateUtil
 

M

MAX_PRIORITY - Static variable in interface com.admin4j.common.Prioritized
The maximum priority
maxDatacenterId - Variable in class com.admin4j.common.SnowflakeIdWorker
 
maxWorkerId - Variable in class com.admin4j.common.SnowflakeIdWorker
 
MIN_PRIORITY - Static variable in interface com.admin4j.common.Prioritized
The minimum priority
minute(LocalDateTime, LocalDateTime) - Static method in class com.admin4j.common.time.TimeDifferUtil
相差几分钟
msg - Variable in exception com.admin4j.common.exception.Admin4jException
 
msg - Variable in enum com.admin4j.common.pojo.ResponseEnum
消息内容

N

NEGATIVE_ONE - Static variable in class com.admin4j.common.BigDecimalUtil
 
newException(Throwable, String) - Method in interface com.admin4j.common.assertion.Assert
创建异常
newException(Throwable) - Method in interface com.admin4j.common.assertion.Assert
 
newException(String) - Method in interface com.admin4j.common.assertion.Assert
 
newException(String, Object...) - Method in interface com.admin4j.common.assertion.Assert
创建异常
newException(Throwable, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
创建异常.
newException(Throwable, String) - Method in enum com.admin4j.common.pojo.ResponseEnum
创建异常
newException(Throwable) - Method in enum com.admin4j.common.pojo.ResponseEnum
 
newException(String) - Method in enum com.admin4j.common.pojo.ResponseEnum
 
nextId() - Method in class com.admin4j.common.SnowflakeIdWorker
获取下一个 ID
NORM_DATE_FORMAT - Static variable in class com.admin4j.common.time.DateTimeFormatterConstant
 
NORM_DATETIME_FORMAT - Static variable in class com.admin4j.common.time.DateTimeFormatterConstant
 
NORMAL_PRIORITY - Static variable in interface com.admin4j.common.Prioritized
Normal Priority
notEmpty(String, String) - Method in interface com.admin4j.common.assertion.Assert
断言字符串str不为空串(长度为0)。如果字符串str为空串,则抛出异常
notEmpty(String, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言字符串str不为空串(长度为0)。如果字符串str为空串,则抛出异常
notEmpty(Object[], String) - Method in interface com.admin4j.common.assertion.Assert
断言数组arrays大小不为0。如果数组arrays大小不为0,则抛出异常
notEmpty(Object[], String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言数组arrays大小不为0。如果数组arrays大小不为0,则抛出异常
notEmpty(Collection<?>, String) - Method in interface com.admin4j.common.assertion.Assert
断言集合c大小不为0。如果集合c大小不为0,则抛出异常
notEmpty(Collection<?>, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言集合c大小不为0。如果集合c大小不为0,则抛出异常
notEmpty(Map<?, ?>, String) - Method in interface com.admin4j.common.assertion.Assert
断言Mapmap大小不为0。如果Mapmap大小不为0,则抛出异常
notEmpty(Map<?, ?>, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言Mapmap大小不为0。如果Mapmap大小不为0,则抛出异常
notNull(Object, String) - Method in interface com.admin4j.common.assertion.Assert
断言对象obj非空。如果对象obj为空,则抛出异常
notNull(Object, String, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言对象obj非空。如果对象obj为空,则抛出异常
notNull(Object, Supplier<String>, Object...) - Method in interface com.admin4j.common.assertion.Assert
断言对象obj非空。如果对象obj为空,则抛出异常

O

ONE_HUNDRED - Static variable in class com.admin4j.common.BigDecimalUtil
 
ONE_HUNDREDTH - Static variable in class com.admin4j.common.BigDecimalUtil
 

P

parse(String) - Static method in class com.admin4j.common.time.LocalDateUtil
解析 yyyy-MM-dd HH:mm:ss
parse2EpochSecond(String, String) - Static method in class com.admin4j.common.time.LocalDateUtil
解析 yyyy-MM-dd HH:mm:ss 格式成秒
Prioritized - Interface in com.admin4j.common
优先级接口可以由应该排序的对象实现,例如可执行队列中的任务。

R

ResponseEnum - Enum in com.admin4j.common.pojo
 
ResponseEnum() - Constructor for enum com.admin4j.common.pojo.ResponseEnum
 

S

second(LocalDateTime, LocalDateTime) - Static method in class com.admin4j.common.time.TimeDifferUtil
相差几秒
sequence - Variable in class com.admin4j.common.SnowflakeIdWorker
并发控制
sequenceBits - Variable in class com.admin4j.common.SnowflakeIdWorker
毫秒内自增位
sequenceMask - Variable in class com.admin4j.common.SnowflakeIdWorker
 
serialVersionUID - Static variable in exception com.admin4j.common.exception.Admin4jException
 
serialVersionUID - Static variable in exception com.admin4j.common.exception.BizException
 
serialVersionUID - Static variable in exception com.admin4j.common.exception.SystemException
 
setResponse(IResponse) - Method in exception com.admin4j.common.exception.Admin4jException
 
SnowflakeIdWorker - Class in com.admin4j.common
雪花算法
SnowflakeIdWorker() - Constructor for class com.admin4j.common.SnowflakeIdWorker
 
SnowflakeIdWorker(long) - Constructor for class com.admin4j.common.SnowflakeIdWorker
 
SnowflakeIdWorker(InetAddress) - Constructor for class com.admin4j.common.SnowflakeIdWorker
 
SnowflakeIdWorker(long, long) - Constructor for class com.admin4j.common.SnowflakeIdWorker
有参构造器
SystemException - Exception in com.admin4j.common.exception
用户操作业务时,提示系统程序的异常信息,这类的异常信息时用户看不懂的,需要告警通知程序员排查对应的问题, 如 NullPointerException,IndexOfException。 另一个情况就是接口对接时,参数的校验时提示出来的信息, 如:缺少ID,缺少必须的参数等, 这类的信息对于客户来说也是看不懂的,也是解决不了的, 所以我把这两类的错误应当统一归类于系统异常
SystemException(Exception) - Constructor for exception com.admin4j.common.exception.SystemException
 
SystemException(String) - Constructor for exception com.admin4j.common.exception.SystemException
 
SystemException(IResponse, Object[], String) - Constructor for exception com.admin4j.common.exception.SystemException
 
SystemException(IResponse, Object[], String, Throwable) - Constructor for exception com.admin4j.common.exception.SystemException
 

T

TargetType<T> - Class in com.admin4j.common
 
TargetType() - Constructor for class com.admin4j.common.TargetType
 
throwException() - Method in exception com.admin4j.common.exception.Admin4jException
抛出异常
throwException(Throwable) - Static method in exception com.admin4j.common.exception.Admin4jException
 
tilNextMillis(long) - Method in class com.admin4j.common.SnowflakeIdWorker
 
TimeDifferUtil - Class in com.admin4j.common.time
 
TimeDifferUtil() - Constructor for class com.admin4j.common.time.TimeDifferUtil
 
timeGen() - Method in class com.admin4j.common.SnowflakeIdWorker
 
timestampLeftShift - Variable in class com.admin4j.common.SnowflakeIdWorker
时间戳左移动位
twepoch - Variable in class com.admin4j.common.SnowflakeIdWorker
时间起始标记点,作为基准,一般取系统的最近时间(一旦确定不能变动)

U

UTC_PATTERN - Static variable in class com.admin4j.common.time.DateTimeFormatterConstant
 

V

valueOf(String) - Static method in enum com.admin4j.common.pojo.ResponseEnum
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.admin4j.common.pojo.ResponseEnum
Returns an array containing the constants of this enum type, in the order they are declared.

W

workerId - Variable in class com.admin4j.common.SnowflakeIdWorker
 
workerIdBits - Variable in class com.admin4j.common.SnowflakeIdWorker
机器标识位数
workerIdShift - Variable in class com.admin4j.common.SnowflakeIdWorker
 
WrapMessageException - Exception in com.admin4j.common.exception
只包装了 错误信息 的 RuntimeException.
WrapMessageException(String) - Constructor for exception com.admin4j.common.exception.WrapMessageException
 
WrapMessageException(String, Throwable) - Constructor for exception com.admin4j.common.exception.WrapMessageException
 

Y

year(LocalDate, LocalDate) - Static method in class com.admin4j.common.time.TimeDifferUtil
相差几年
A B C D E F G H I L M N O P R S T U V W Y 
Skip navigation links

Copyright © 2023. All rights reserved.