public class DefaultOptimizationListener extends Object implements OptimizationListener
| Constructor and Description |
|---|
DefaultOptimizationListener() |
| Modifier and Type | Method and Description |
|---|---|
long |
getMergeCount() |
long |
getSkipCount() |
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, waitcreateDefaultpublic void incrementMergeCount(int count)
OptimizationListenerincrementMergeCount in interface OptimizationListenercount - number of requests that were mergedpublic void incrementSkipCount(int count)
OptimizationListenerincrementSkipCount in interface OptimizationListenercount - number of requests that were served locally without synchronization with external storagepublic long getMergeCount()
public long getSkipCount()
Copyright © 2022. All rights reserved.