public class ThreadLocalCache extends Object
限定符和类型 | 字段和说明 |
---|---|
static int |
BYTES_CACH_INIT_SIZE |
static int |
BYTES_CACH_INIT_SIZE_EXP |
static int |
BYTES_CACH_MAX_SIZE |
static int |
BYTES_CACH_MAX_SIZE_EXP |
static int |
CHARS_CACH_INIT_SIZE |
static int |
CHARS_CACH_INIT_SIZE_EXP |
static int |
CHARS_CACH_MAX_SIZE |
static int |
CHARS_CACH_MAX_SIZE_EXP |
构造器和说明 |
---|
ThreadLocalCache() |
限定符和类型 | 方法和说明 |
---|---|
static void |
clearBytes() |
static void |
clearChars() |
static byte[] |
getBytes(int length) |
static char[] |
getChars(int length) |
static CharsetDecoder |
getUTF8Decoder() |
public static final int CHARS_CACH_INIT_SIZE
public static final int CHARS_CACH_INIT_SIZE_EXP
public static final int CHARS_CACH_MAX_SIZE
public static final int CHARS_CACH_MAX_SIZE_EXP
public static final int BYTES_CACH_INIT_SIZE
public static final int BYTES_CACH_INIT_SIZE_EXP
public static final int BYTES_CACH_MAX_SIZE
public static final int BYTES_CACH_MAX_SIZE_EXP
public static CharsetDecoder getUTF8Decoder()
public static void clearChars()
public static char[] getChars(int length)
public static void clearBytes()
public static byte[] getBytes(int length)
Copyright © 2012–2016 Alibaba Group. All rights reserved.