Package org.elasticsearch.common.util
Class PageCacheRecycler
java.lang.Object
org.elasticsearch.common.util.PageCacheRecycler
A recycler of fixed-size pages.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final Setting<ByteSizeValue>
static final int
static final PageCacheRecycler
static final int
static final int
Page size in bytes: 16KBstatic final Setting<PageCacheRecycler.Type>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRecycler.V<byte[]>
bytePage
(boolean clear) Recycler.V<int[]>
intPage
(boolean clear) Recycler.V<long[]>
longPage
(boolean clear) Recycler.V<Object[]>
-
Field Details
-
TYPE_SETTING
-
LIMIT_HEAP_SETTING
-
WEIGHT_BYTES_SETTING
-
WEIGHT_LONG_SETTING
-
WEIGHT_INT_SETTING
-
WEIGHT_OBJECTS_SETTING
-
PAGE_SIZE_IN_BYTES
public static final int PAGE_SIZE_IN_BYTESPage size in bytes: 16KB- See Also:
-
OBJECT_PAGE_SIZE
public static final int OBJECT_PAGE_SIZE -
LONG_PAGE_SIZE
public static final int LONG_PAGE_SIZE- See Also:
-
INT_PAGE_SIZE
public static final int INT_PAGE_SIZE- See Also:
-
BYTE_PAGE_SIZE
public static final int BYTE_PAGE_SIZE- See Also:
-
NON_RECYCLING_INSTANCE
-
-
Constructor Details
-
PageCacheRecycler
-
-
Method Details
-
bytePage
-
intPage
-
longPage
-
objectPage
-