Click or drag to resize
Statistics Class

Note: This API is now obsolete.

An instantiation of an existing StatisticsType object with methods for setting, incrementing and getting individual StatisticDescriptor values.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Internal.UMWrapN<gemfire_statistics::Statistics>]
    GemStone.GemFire.CacheStatistics

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public sealed class Statistics : [T:GemStone.GemFire.Cache.Internal.UMWrapN<gemfire_statistics::Statistics>]

The Statistics type exposes the following members.

Properties
  NameDescription
Public propertyIsAtomic
Returns true if modifications are atomic. This means that multiple threads can safely modify this instance without additional synchronization.
Public propertyIsClosed
Returns true if the instance has been [!:#close] closed.
Public propertyIsShared
Returns true if the data for this instance is stored in shared memory. Returns false if the data is store in local memory.
Public propertyNumericId
Gets the number associated with this instance that helps identify it.
Public propertyTextId
Gets the text associated with this instance that helps identify it.
Public propertyType
Gets the StatisticsType of this instance.
Public propertyUniqueId
Gets a value that uniquely identifies this statistics.
Top
Methods
  NameDescription
Public methodClose
Closes these statistics. After statistics have been closed, they are no longer archived. A value access on a closed statistics always results in zero. A value modification on a closed statistics is ignored.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDouble(Int32)
Returns the value of the identified statistic of type double.
Public methodGetDouble(String)
Returns the value of the statistic of type double at the given name.
Public methodGetDouble(StatisticDescriptor)
Returns the value of the described statistic of type double.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt(Int32)
Returns the value of the identified statistic of type int. whose type is double.
Public methodGetInt(String)
Returns the value of the statistic of type
int
at the given name.
Public methodGetInt(StatisticDescriptor)
Returns the value of the described statistic of type
int
.
Public methodGetLong(Int32)
Returns the value of the identified statistic of type long.
Public methodGetLong(String)
Returns the value of the statistic of type long at the given name.
Public methodGetLong(StatisticDescriptor)
Returns the value of the described statistic of type long.
Public methodGetRawBits
Returns the bits that represent the raw value of the described statistic.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncDouble(Int32, Double)
Increments the value of the identified statistic of type double by the given amount.
Public methodIncDouble(String, Double)
Increments the value of the statistic of type double with the given name by a given amount.
Public methodIncDouble(StatisticDescriptor, Double)
Increments the value of the described statistic of type double by the given amount.
Public methodIncInt(Int32, Int32)
Increments the value of the identified statistic of type int by the given amount.
Public methodIncInt(String, Int32)
Increments the value of the statistic of type int with the given name by a given amount.
Public methodIncInt(StatisticDescriptor, Int32)
Increments the value of the described statistic of type int by the given amount.
Public methodIncLong(Int32, Int64)
Increments the value of the identified statistic of type long by the given amount.
Public methodIncLong(String, Int64)
Increments the value of the statistic of type long with the given name by a given amount.
Public methodIncLong(StatisticDescriptor, Int64)
Increments the value of the described statistic of type long by the given amount.
Public methodNameToDescriptor
Returns the descriptor of the statistic with the given name in this statistics instance.
Public methodNameToId
Returns the id of the statistic with the given name in this statistics instance.
Public methodSetDouble(Int32, Double)
Sets the value of a statistic with the given id whose type is double.
Public methodSetDouble(String, Double)
Sets the value of a named statistic of type double
Public methodSetDouble(StatisticDescriptor, Double)
Sets the value of a described statistic of type double
Public methodSetInt(Int32, Int32)
Sets the value of a statistic with the given id whose type is int.
Public methodSetInt(String, Int32)
Sets the value of a named statistic of type int
Public methodSetInt(StatisticDescriptor, Int32)
Sets the value of a described statistic of type int
Public methodSetLong(Int32, Int64)
Sets the value of a statistic with the given id whose type is long.
Public methodSetLong(String, Int64)
Sets the value of a named statistic of type long.
Public methodSetLong(StatisticDescriptor, Int64)
Sets the value of a described statistic of type long
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also