Class MockPageCacheRecycler

java.lang.Object
org.elasticsearch.common.util.PageCacheRecycler
org.elasticsearch.common.util.MockPageCacheRecycler

public class MockPageCacheRecycler extends org.elasticsearch.common.util.PageCacheRecycler
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.elasticsearch.common.util.PageCacheRecycler

    org.elasticsearch.common.util.PageCacheRecycler.Type
  • Field Summary

    Fields inherited from class org.elasticsearch.common.util.PageCacheRecycler

    BYTE_PAGE_SIZE, DOUBLE_PAGE_SIZE, FLOAT_PAGE_SIZE, INT_PAGE_SIZE, LIMIT_HEAP_SETTING, LONG_PAGE_SIZE, NON_RECYCLING_INSTANCE, OBJECT_PAGE_SIZE, PAGE_SIZE_IN_BYTES, TYPE_SETTING, WEIGHT_BYTES_SETTING, WEIGHT_INT_SETTING, WEIGHT_LONG_SETTING, WEIGHT_OBJECTS_SETTING
  • Constructor Summary

    Constructors
    Constructor
    Description
    MockPageCacheRecycler(org.elasticsearch.common.settings.Settings settings)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.elasticsearch.common.recycler.Recycler.V<byte[]>
    bytePage(boolean clear)
     
    org.elasticsearch.common.recycler.Recycler.V<Object[]>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MockPageCacheRecycler

      public MockPageCacheRecycler(org.elasticsearch.common.settings.Settings settings)
  • Method Details

    • bytePage

      public org.elasticsearch.common.recycler.Recycler.V<byte[]> bytePage(boolean clear)
      Overrides:
      bytePage in class org.elasticsearch.common.util.PageCacheRecycler
    • objectPage

      public org.elasticsearch.common.recycler.Recycler.V<Object[]> objectPage()
      Overrides:
      objectPage in class org.elasticsearch.common.util.PageCacheRecycler