public interface OptimizationListener
| Modifier and Type | Method and Description |
|---|---|
static OptimizationListener |
createDefault()
Creates new instance of
DefaultOptimizationListener |
void |
incrementMergeCount(int count)
This method is invoked every time when several independent requests to the same bucket combined into a single one.
|
void |
incrementSkipCount(int count)
This method is invoked every time when several requests were not propagated to external storage because optimization had decided that they can be served locally.
|
static OptimizationListener createDefault()
DefaultOptimizationListenerDefaultOptimizationListenerDefaultOptimizationListenervoid incrementMergeCount(int count)
count - number of requests that were mergedvoid incrementSkipCount(int count)
count - number of requests that were served locally without synchronization with external storageCopyright © 2022. All rights reserved.