- changeCharset(String, String) - 类 中的静态方法org.openingo.jdkits.EncodingKit
-
字符串编码转换的实现方法
- changeCharset(String, String, String) - 类 中的静态方法org.openingo.jdkits.EncodingKit
-
字符串编码转换的实现方法
- CHARSET_UTF8 - 类 中的静态变量org.openingo.jdkits.DDLKit
-
- CHARSET_UTF8MB4 - 类 中的静态变量org.openingo.jdkits.DDLKit
-
- ClassKit - org.openingo.jdkits中的类
-
ClassKit
- clone(T) - 类 中的方法org.openingo.jdkits.ObjectKit
-
Clone 一个对象
- clone(T) - 类 中的静态方法org.openingo.jdkits.SerializationKit
-
Deep clone an Object using serialization.
- COLON - 接口 中的静态变量org.openingo.jdkits.StringPoolKit
-
- Column(String, String, String, int, String) - 类 的构造器org.openingo.jdkits.DDLKit.Column
-
初始化Column
- Column(String, String, boolean, String, int, Object, boolean, boolean) - 类 的构造器org.openingo.jdkits.DDLKit.Column
-
初始化Column
- columnDDL() - 类 中的方法org.openingo.jdkits.DDLKit.Column
-
column DDL
- COMMA - 接口 中的静态变量org.openingo.jdkits.StringPoolKit
-
- compress(byte[], boolean) - 类 中的静态方法org.openingo.jdkits.CompressKit
-
- compress(String) - 类 中的静态方法org.openingo.jdkits.CompressKit
-
使用GZIP压缩
- compress(byte[]) - 类 中的静态方法org.openingo.jdkits.CompressKit
-
使用GZIP压缩
- compress(String, String) - 类 中的静态方法org.openingo.jdkits.CompressKit
-
使用密码压缩
- compress(byte[], String) - 类 中的静态方法org.openingo.jdkits.CompressKit
-
使用密码压缩
- CompressKit - org.openingo.jdkits中的类
-
Compress Kit
- Config() - 类 的构造器org.openingo.jdkits.http.RespData.Config
-
- contains(String) - 类 中的方法org.openingo.jdkits.JavaKeywordKit
-
- copy(File, File) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given input File to the given output File.
- copy(byte[], File) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given byte array to the given output File.
- copy(InputStream, OutputStream) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given InputStream to the given OutputStream.
- copy(byte[], OutputStream) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given byte array to the given OutputStream.
- copy(Reader, Writer) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given Reader to the given Writer.
- copy(String, Writer) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given String to the given output Writer.
- copy(byte[], OutputStream) - 类 中的静态方法org.openingo.jdkits.StreamKit
-
Copy the contents of the given byte array to the given OutputStream.
- copy(String, Charset, OutputStream) - 类 中的静态方法org.openingo.jdkits.StreamKit
-
Copy the contents of the given String to the given output OutputStream.
- copy(InputStream, OutputStream) - 类 中的静态方法org.openingo.jdkits.StreamKit
-
Copy the contents of the given InputStream to the given OutputStream.
- copyRange(InputStream, OutputStream, long, long) - 类 中的静态方法org.openingo.jdkits.StreamKit
-
Copy a range of content of the given InputStream to the given OutputStream.
- copyRecursively(File, File) - 类 中的静态方法org.openingo.jdkits.FileSystemKit
-
Recursively copy the contents of the src file/directory
to the dest file/directory.
- copyRecursively(Path, Path) - 类 中的静态方法org.openingo.jdkits.FileSystemKit
-
Recursively copy the contents of the src file/directory
to the dest file/directory.
- copyToByteArray(File) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given input File into a new byte array.
- copyToByteArray(InputStream) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given InputStream into a new byte array.
- copyToByteArray(InputStream) - 类 中的静态方法org.openingo.jdkits.StreamKit
-
Copy the contents of the given InputStream into a new byte array.
- copyToString(Reader) - 类 中的静态方法org.openingo.jdkits.FileCopyKit
-
Copy the contents of the given Reader into a String.
- copyToString(InputStream, Charset) - 类 中的静态方法org.openingo.jdkits.StreamKit
-
Copy the contents of the given InputStream into a String.
- createColumn(String, String, String, int, Object, boolean, boolean) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个Column
- createColumn(String, String, boolean, String, int, Object, boolean, boolean) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个Unsigned Column
- createColumn(String, String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个Column
- createIntColumn(String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个Int Column
- createPrimaryKey(String, String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
生成Primary Key
- createSignedIntColumn(String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个 Signed Int Column
- createSignedTinyIntColumn(String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个 Signed TinyInt Column
- createTable(String, String) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个table,没有任何列
- createTable(String, String, List<DDLKit.Column>) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个table
- createTextColumn(String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个Text Column
- createTinyIntColumn(String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个TinyInt Column
- createTinyTextColumn(String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个TinyText Column
- createUniqueKey(String, String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
生成 unique Key
- createVarcharColumn(String, String, int, Object) - 类 中的静态方法org.openingo.jdkits.DDLKit
-
创建一个Varchar Column
- CRLF - 接口 中的静态变量org.openingo.jdkits.StringPoolKit
-
- SC_KEY - 类 中的静态变量org.openingo.jdkits.http.RespData.Config
-
Status code key, default 'sc'
- selector(ObjTypeKit.TypeSelector) - 类 中的静态方法org.openingo.jdkits.ObjTypeKit
-
- SEMICOLON - 接口 中的静态变量org.openingo.jdkits.StringPoolKit
-
- Sequence - org.openingo.jdkits.idfactory中的类
-
- Sequence() - 类 的构造器org.openingo.jdkits.idfactory.Sequence
-
- Sequence(long, long) - 类 的构造器org.openingo.jdkits.idfactory.Sequence
-
有参构造器
- SerializationKit - org.openingo.jdkits中的类
-
copy from spring-core#org.springframework.util.SerializationKit version 5.2.2
- serialize(Object) - 类 中的静态方法org.openingo.jdkits.SerializationKit
-
Serialize the given object to a byte array.
- set(T) - 类 中的方法org.openingo.jdkits.ThreadLocalKit
-
set to ThreadLocal
if the t is null will remove before set.
- setCharset(String) - 类 中的方法org.openingo.jdkits.DDLKit.Table
-
设置编码
- setCharSet(String) - 类 中的静态方法org.openingo.jdkits.http.HttpKit
-
- setGenerateId(Boolean) - 类 中的方法org.openingo.jdkits.DDLKit.Table
-
是否自动生成Id
- setPretty(Boolean) - 类 中的方法org.openingo.jdkits.DDLKit.Table
-
DDL Pretty
- sha1(String) - 类 中的静态方法org.openingo.jdkits.HashKit
-
- sha256(String) - 类 中的静态方法org.openingo.jdkits.HashKit
-
- sha384(String) - 类 中的静态方法org.openingo.jdkits.HashKit
-
- sha512(String) - 类 中的静态方法org.openingo.jdkits.HashKit
-
- SINGLE_QUOTE - 接口 中的静态变量org.openingo.jdkits.StringPoolKit
-
- SLASH - 接口 中的静态变量org.openingo.jdkits.StringPoolKit
-
- slowEquals(byte[], byte[]) - 类 中的静态方法org.openingo.jdkits.HashKit
-
- slowEquals(String, String) - 类 中的静态方法org.openingo.jdkits.StrKit
-
- SM_KEY - 类 中的静态变量org.openingo.jdkits.http.RespData.Config
-
Status message key, default 'sm'
- SM_ONLY - 类 中的静态变量org.openingo.jdkits.http.RespData.Config
-
only contains status message
- SPACE - 接口 中的静态变量org.openingo.jdkits.StringPoolKit
-
- STAR - 接口 中的静态变量org.openingo.jdkits.StringPoolKit
-
- StreamKit - org.openingo.jdkits中的类
-
Copy from spring
Simple utility methods for dealing with streams.
- StringPoolKit - org.openingo.jdkits中的接口
-
Copy to jodd.util
Pool of String constants to prevent repeating of
hard-coded String literals in the code.
- StrKit - org.openingo.jdkits中的类
-
字符串工具 StrKit
- success() - 类 中的静态方法org.openingo.jdkits.http.RespData
-
Success Response
- success(Object) - 类 中的静态方法org.openingo.jdkits.http.RespData
-
Success Response
- SUCCESS_SC - 类 中的静态变量org.openingo.jdkits.http.RespData.Config
-
success status code, default is 'success'.
- SUCCESS_SM - 类 中的静态变量org.openingo.jdkits.http.RespData.Config
-
success status code, default is 'response successful'.
- synchronizedList(List<T>) - 类 中的静态方法org.openingo.jdkits.ListKit
-
Synchronized List
- SysKit - org.openingo.jdkits中的类
-
SysKit
- SysOutPrintKit - org.openingo.jdkits中的类
-
SysOutPrint Kit
printf方法中,格式为"%s"表示以字符串的形式输出第二个可变长参数的第一个参数值;
格式为"%n"表示换行;格式为"%S"表示将字符串以大写形式输出;在"%s"之间用"n$"表示
输出可变长参数的第n个参数值.格式为"%b"表示以布尔值的形式输出第二个可变长参数
的第一个参数值.
- SystemClockKit - org.openingo.jdkits中的类
-
copy from myp
高并发场景下System.currentTimeMillis()的性能问题的优化
System.currentTimeMillis()的调用比new一个普通对象要耗时的多(具体耗时高出多少我还没测试过,有人说是100倍左右)
System.currentTimeMillis()之所以慢是因为去跟系统打了一次交道
后台定时更新时钟,JVM退出时,线程自动回收
10亿:43410,206,210.72815533980582%
1亿:4699,29,162.0344827586207%
1000万:480,12,40.0%
100万:50,10,5.0%