Interface HeapMemoryManager.HeapMemoryTuneObserver
- All Known Implementing Classes:
ChunkCreator.MemStoreChunkPool
- Enclosing class:
- HeapMemoryManager
public static interface HeapMemoryManager.HeapMemoryTuneObserver
Every class that wants to observe heap memory tune actions must implement this interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onHeapMemoryTune
(long newMemstoreSize, long newBlockCacheSize) This method would be called by HeapMemoryManger when a heap memory tune action took place.
-
Method Details
-
onHeapMemoryTune
This method would be called by HeapMemoryManger when a heap memory tune action took place.- Parameters:
newMemstoreSize
- The newly calculated global memstore sizenewBlockCacheSize
- The newly calculated global blockcache size
-