Statistics Class |
Note: This API is now obsolete.
Namespace: GemStone.GemFire.Cache
The Statistics type exposes the following members.
Name | Description | |
---|---|---|
![]() | IsAtomic |
Returns true if modifications are atomic. This means that multiple threads
can safely modify this instance without additional synchronization.
|
![]() | IsClosed |
Returns true if the instance has been [!:#close] closed.
|
![]() | IsShared |
Returns true if the data for this instance is stored in shared memory.
Returns false if the data is store in local memory.
|
![]() | NumericId |
Gets the number associated with this instance that helps identify it.
|
![]() | TextId |
Gets the text associated with this instance that helps identify it.
|
![]() | Type |
Gets the StatisticsType of this instance.
|
![]() | UniqueId |
Gets a value that uniquely identifies this statistics.
|
Name | Description | |
---|---|---|
![]() | Close |
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.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetDouble(Int32) |
Returns the value of the identified statistic of type double.
|
![]() | GetDouble(String) |
Returns the value of the statistic of type double at
the given name.
|
![]() | GetDouble(StatisticDescriptor) |
Returns the value of the described statistic of type double.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetInt(Int32) |
Returns the value of the identified statistic of type int.
whose type is double.
|
![]() | GetInt(String) |
Returns the value of the statistic of type int |
![]() | GetInt(StatisticDescriptor) |
Returns the value of the described statistic of type int |
![]() | GetLong(Int32) |
Returns the value of the identified statistic of type long.
|
![]() | GetLong(String) |
Returns the value of the statistic of type long at
the given name.
|
![]() | GetLong(StatisticDescriptor) |
Returns the value of the described statistic of type long.
|
![]() | GetRawBits |
Returns the bits that represent the raw value of the described statistic.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IncDouble(Int32, Double) |
Increments the value of the identified statistic of type double
by the given amount.
|
![]() | IncDouble(String, Double) |
Increments the value of the statistic of type double with
the given name by a given amount.
|
![]() | IncDouble(StatisticDescriptor, Double) |
Increments the value of the described statistic of type double
by the given amount.
|
![]() | IncInt(Int32, Int32) |
Increments the value of the identified statistic of type int
by the given amount.
|
![]() | IncInt(String, Int32) |
Increments the value of the statistic of type int with
the given name by a given amount.
|
![]() | IncInt(StatisticDescriptor, Int32) |
Increments the value of the described statistic of type int
by the given amount.
|
![]() | IncLong(Int32, Int64) |
Increments the value of the identified statistic of type long
by the given amount.
|
![]() | IncLong(String, Int64) |
Increments the value of the statistic of type long with
the given name by a given amount.
|
![]() | IncLong(StatisticDescriptor, Int64) |
Increments the value of the described statistic of type long
by the given amount.
|
![]() | NameToDescriptor |
Returns the descriptor of the statistic with the given name in this
statistics instance.
|
![]() | NameToId |
Returns the id of the statistic with the given name in this
statistics instance.
|
![]() | SetDouble(Int32, Double) |
Sets the value of a statistic with the given id
whose type is double.
|
![]() | SetDouble(String, Double) |
Sets the value of a named statistic of type double |
![]() | SetDouble(StatisticDescriptor, Double) |
Sets the value of a described statistic of type double |
![]() | SetInt(Int32, Int32) |
Sets the value of a statistic with the given id
whose type is int.
|
![]() | SetInt(String, Int32) |
Sets the value of a named statistic of type int |
![]() | SetInt(StatisticDescriptor, Int32) |
Sets the value of a described statistic of type int |
![]() | SetLong(Int32, Int64) |
Sets the value of a statistic with the given id
whose type is long.
|
![]() | SetLong(String, Int64) |
Sets the value of a named statistic of type long.
|
![]() | SetLong(StatisticDescriptor, Int64) |
Sets the value of a described statistic of type long |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |