VMware GemFire Java API Reference
Package org.apache.geode.cache.query
Interface IndexStatistics
-
public interface IndexStatisticsProvides statistics about a GemFire cacheIndex.- Since:
- GemFire 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetNumberOfBucketIndexes()Deprecated.longgetNumberOfBucketIndexesLong()Returns the number of bucket indexes created in the Partitioned RegionlonggetNumberOfKeys()Returns the number of keys in this index.longgetNumberOfMapIndexKeys()Returns the number of keys in this index at the highest levellonggetNumberOfValues()Returns the number of values in this index.longgetNumberOfValues(java.lang.Object key)Return the number of values for the specified key in this index.longgetNumUpdates()Return the total number of times this index has been updatedintgetReadLockCount()Deprecated.longgetReadLockCountLong()Return number of read locks taken on this indexlonggetTotalUpdateTime()Returns the total amount of time (in nanoseconds) spent updating this index.longgetTotalUses()Returns the total number of times this index has been accessed by a query.
-
-
-
Method Detail
-
getNumUpdates
long getNumUpdates()
Return the total number of times this index has been updated- Returns:
- the total number of times this index has been updated
-
getTotalUpdateTime
long getTotalUpdateTime()
Returns the total amount of time (in nanoseconds) spent updating this index.- Returns:
- the total amount of time (in nanoseconds) spent updating this index
-
getTotalUses
long getTotalUses()
Returns the total number of times this index has been accessed by a query.- Returns:
- the total number of times this index has been accessed by a query
-
getNumberOfKeys
long getNumberOfKeys()
Returns the number of keys in this index.- Returns:
- the number of keys in this index
-
getNumberOfValues
long getNumberOfValues()
Returns the number of values in this index.- Returns:
- the number of values in this index
-
getNumberOfValues
long getNumberOfValues(java.lang.Object key)
Return the number of values for the specified key in this index.- Parameters:
key- the key- Returns:
- the number of values for the specified key in this index
-
getReadLockCount
@Deprecated int getReadLockCount()
Deprecated.Return number of read locks taken on this index- Returns:
- the number of read locks taken on this index
-
getReadLockCountLong
long getReadLockCountLong()
Return number of read locks taken on this index- Returns:
- the number of read locks taken on this index
-
getNumberOfMapIndexKeys
long getNumberOfMapIndexKeys()
Returns the number of keys in this index at the highest level- Returns:
- the number of keys in this index at the highest level
-
getNumberOfBucketIndexes
@Deprecated int getNumberOfBucketIndexes()
Deprecated.Returns the number of bucket indexes created in the Partitioned Region- Returns:
- the number of bucket indexes created in the Partitioned Region
-
getNumberOfBucketIndexesLong
long getNumberOfBucketIndexesLong()
Returns the number of bucket indexes created in the Partitioned Region- Returns:
- the number of bucket indexes created in the Partitioned Region
-
-