Interface HeapMemoryManager.HeapMemoryTuneObserver

All Known Implementing Classes:
ChunkCreator.MemStoreChunkPool
Enclosing class:
HeapMemoryManager

Every class that wants to observe heap memory tune actions must implement this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onHeapMemoryTune(long newMemstoreSize, long newBlockCacheSize)
    This method would be called by HeapMemoryManger when a heap memory tune action took place.
  • Method Details

    • onHeapMemoryTune

      void onHeapMemoryTune(long newMemstoreSize, long newBlockCacheSize)
      This method would be called by HeapMemoryManger when a heap memory tune action took place.
      Parameters:
      newMemstoreSize - The newly calculated global memstore size
      newBlockCacheSize - The newly calculated global blockcache size