public class GlobalIndexesStats extends Object implements IndexesStats
The main trait of the implementation is the concurrency support, which is required for global indexes because they are shared among partitions.
EMPTY| Constructor and Description |
|---|
GlobalIndexesStats() |
| Modifier and Type | Method and Description |
|---|---|
PerIndexStats |
createPerIndexStats(boolean ordered,
boolean usesCachedQueryableEntries)
Creates a new instance of internal per-index stats.
|
long |
getIndexedQueryCount()
Returns the number of indexed queries performed on the indexes.
|
long |
getQueryCount()
Returns the number of queries performed on the indexes.
|
void |
incrementIndexedQueryCount()
Increments the number of indexed queries performed on the indexes.
|
void |
incrementQueryCount()
Increments the number of queries performed on the indexes.
|
public long getQueryCount()
IndexesStatsgetQueryCount in interface IndexesStatspublic void incrementQueryCount()
IndexesStatsincrementQueryCount in interface IndexesStatspublic long getIndexedQueryCount()
IndexesStatsgetIndexedQueryCount in interface IndexesStatspublic void incrementIndexedQueryCount()
IndexesStatsincrementIndexedQueryCount in interface IndexesStatspublic PerIndexStats createPerIndexStats(boolean ordered, boolean usesCachedQueryableEntries)
IndexesStatscreatePerIndexStats in interface IndexesStatsordered - true if the stats are being created
for an ordered index, false otherwise.usesCachedQueryableEntries - true if the stats are being created
for an index for which queryable entries are
cached, false otherwise.Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.