StatisticsSetLong Method (StatisticDescriptor, Int64) |
Sets the value of a described statistic of type long
Namespace: GemStone.GemFire.Cache.GenericAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic void SetLong(
StatisticDescriptor descriptor,
long value
)
Public Sub SetLong (
descriptor As StatisticDescriptor,
value As Long
)
public:
virtual void SetLong(
StatisticDescriptor^ descriptor,
long long value
) sealed
abstract SetLong :
descriptor : StatisticDescriptor *
value : int64 -> unit
override SetLong :
descriptor : StatisticDescriptor *
value : int64 -> unit
Parameters
- descriptor
- Type: GemStone.GemFire.Cache.GenericStatisticDescriptor
a statistic descriptor obtained with [!:#nameToDescriptor]
or [!:StatisticsType#nameToDescriptor] - value
- Type: SystemInt64
value to set
ExceptionsException | Condition |
---|
IllegalArgumentException |
If no statistic exists for the given descriptor or
if the described statistic is not of
type long.
|
See Also