com.alibaba.fastjson.util
类 ThreadLocalCache

java.lang.Object
  继承者 com.alibaba.fastjson.util.ThreadLocalCache

public class ThreadLocalCache
extends Object


字段摘要
static int BYTES_CACH_INIT_SIZE
           
static int BYTeS_CACH_MAX_SIZE
           
static int CHARS_CACH_INIT_SIZE
           
static int CHARS_CACH_MAX_SIZE
           
 
构造方法摘要
ThreadLocalCache()
           
 
方法摘要
static void clearBytes()
           
static void clearChars()
           
static byte[] getBytes(int length)
           
static char[] getChars(int length)
           
static CharsetDecoder getUTF8Decoder()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

CHARS_CACH_INIT_SIZE

public static final int CHARS_CACH_INIT_SIZE
另请参见:
常量字段值

CHARS_CACH_MAX_SIZE

public static final int CHARS_CACH_MAX_SIZE
另请参见:
常量字段值

BYTES_CACH_INIT_SIZE

public static final int BYTES_CACH_INIT_SIZE
另请参见:
常量字段值

BYTeS_CACH_MAX_SIZE

public static final int BYTeS_CACH_MAX_SIZE
另请参见:
常量字段值
构造方法详细信息

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-2014 Alibaba Group. All Rights Reserved.