Top Description Fields Constructors Methods
org.h2.util

public Class CacheHead

extends CacheObject
Class Inheritance

The head element of the linked list.

Field Summary

Inherited from org.h2.util.CacheObject:
cacheChainedcacheNextcachePrevious

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
canRemove()

Implements abstract org.h2.util.CacheObject.canRemove.

Check if the object can be removed from the cache.

public int
getMemory()

Implements abstract org.h2.util.CacheObject.getMemory.

Get the estimated used memory.

Inherited from org.h2.util.CacheObject:
compareTogetPosisChangedisStreamsetChangedsetPos

Constructor Detail

CacheHeadback to summary
public CacheHead()

Method Detail

canRemoveback to summary
public boolean canRemove()

Implements abstract org.h2.util.CacheObject.canRemove.

Doc from org.h2.util.CacheObject.canRemove.

Check if the object can be removed from the cache. For example pinned objects can not be removed.

Returns:boolean

true if it can be removed

Annotations
@Override
getMemoryback to summary
public int getMemory()

Implements abstract org.h2.util.CacheObject.getMemory.

Doc from org.h2.util.CacheObject.getMemory.

Get the estimated used memory.

Returns:int

number of words (one word is 4 bytes)

Annotations
@Override