Top Description Fields Constructors Methods
org.glassfish.grizzly.http.util

public Class CacheableDataChunk

extends DataChunk
Class Inheritance
Imports
org.glassfish.grizzly.ThreadCache

DataChunk implementation, which could be cached in the thread cache.
Author
Alexey Stashok

Field Summary

Modifier and TypeField and Description
private static final ThreadCache.CachedTypeIndex<CacheableDataChunk>
Inherited from org.glassfish.grizzly.http.util.DataChunk:
bufferChunkbyteChunkcharChunkstringValuetype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static CacheableDataChunk
public void
public void
Inherited from org.glassfish.grizzly.http.util.DataChunk:
deleteduplicateequalsequalsequalsequalsequalsequalsequalsequalsIgnoreCaseequalsIgnoreCaseequalsIgnoreCaseequalsIgnoreCaseequalsIgnoreCaseequalsIgnoreCaseequalsIgnoreCaseequalsIgnoreCaseLowerCasegetBufferChunkgetByteChunkgetCharChunkgetEndgetLengthgetStartgetTypehashCodeindexOfindexOfisNullnewInstancenewInstancenotifyDirectUpdateresetBufferresetByteChunkresetCharChunkresetStringsetsetsetBuffersetBuffersetBytessetBytessetCharssetEndsetStartsetStringstartsWithstartsWithIgnoreCasetoCharstoImmutabletoStringtoStringtoStringtrimLeft

Field Detail

CACHE_IDXback to summary
private static final ThreadCache.CachedTypeIndex<CacheableDataChunk> CACHE_IDX

Constructor Detail

CacheableDataChunkback to summary
public CacheableDataChunk()

Method Detail

createback to summary
public static CacheableDataChunk create()
recycleback to summary
public void recycle()

Overrides org.glassfish.grizzly.http.util.DataChunk.recycle.

Annotations
@Override
resetback to summary
public void reset()

Overrides org.glassfish.grizzly.http.util.DataChunk.reset.

Annotations
@Override