com.alibaba.fastjson.util
Class ThreadLocalCache
java.lang.Object
com.alibaba.fastjson.util.ThreadLocalCache
public class ThreadLocalCache
- extends Object
CHARS_CACH_INIT_SIZE
public static final int CHARS_CACH_INIT_SIZE
- See Also:
- Constant Field Values
CHARS_CACH_MAX_SIZE
public static final int CHARS_CACH_MAX_SIZE
- See Also:
- Constant Field Values
BYTES_CACH_INIT_SIZE
public static final int BYTES_CACH_INIT_SIZE
- See Also:
- Constant Field Values
BYTeS_CACH_MAX_SIZE
public static final int BYTeS_CACH_MAX_SIZE
- See Also:
- Constant Field Values
ThreadLocalCache
public ThreadLocalCache()
getUTF8Decoder
public static CharsetDecoder getUTF8Decoder()
clearChars
public static void clearChars()
getChars
public static char[] getChars(int length)
clearBytes
public static void clearBytes()
getBytes
public static byte[] getBytes(int length)
Copyright © 2012
Alibaba Group. All Rights Reserved.