public class NopeOptimizationListener extends Object implements OptimizationListener
Modifier and Type | Field and Description |
---|---|
static NopeOptimizationListener |
INSTANCE |
Constructor and Description |
---|
NopeOptimizationListener() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDefault
public static final NopeOptimizationListener INSTANCE
public void incrementMergeCount(int count)
OptimizationListener
incrementMergeCount
in interface OptimizationListener
count
- number of requests that were mergedpublic void incrementSkipCount(int count)
OptimizationListener
incrementSkipCount
in interface OptimizationListener
count
- number of requests that were served locally without synchronization with external storageCopyright © 2021. All rights reserved.