public class ThreadLocalCache extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BYTES_CACH_INIT_SIZE
Deprecated.
|
static int |
BYTES_CACH_INIT_SIZE_EXP
Deprecated.
|
static int |
BYTES_CACH_MAX_SIZE
Deprecated.
|
static int |
BYTES_CACH_MAX_SIZE_EXP
Deprecated.
|
static int |
CHARS_CACH_INIT_SIZE
Deprecated.
|
static int |
CHARS_CACH_INIT_SIZE_EXP
Deprecated.
|
static int |
CHARS_CACH_MAX_SIZE
Deprecated.
|
static int |
CHARS_CACH_MAX_SIZE_EXP
Deprecated.
|
Constructor and Description |
---|
ThreadLocalCache()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
clearBytes()
Deprecated.
|
static void |
clearChars()
Deprecated.
|
static byte[] |
getBytes(int length)
Deprecated.
|
static char[] |
getChars(int length)
Deprecated.
|
static CharsetDecoder |
getUTF8Decoder()
Deprecated.
|
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–2022 Alibaba Group. All rights reserved.