java.lang.Object | ||
↳ | com.sun.jmx.snmp.SnmpValue | |
↳ | com.sun.jmx.snmp.SnmpCounter64 |
Represents an SNMP 64bits counter.
This API is a Sun Microsystems internal API and is subject to change without notice.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
SnmpCounter64 from the specified long value. | |||||||||||
Constructs a new
SnmpCounter64 from the specified Long value. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Appends an
SnmpOid representing an SnmpCounter64 to another OID. | |||||||||||
Clones the
SnmpCounter64 object, making a copy of its data. | |||||||||||
Performs a clone action.
| |||||||||||
Returns a textual description of the type object.
| |||||||||||
Converts the counter value to its integer form.
| |||||||||||
Returns the counter value of this
SnmpCounter64 . | |||||||||||
Scans an index OID, skips the counter value and returns the position
of the next value.
| |||||||||||
Converts the counter value to its
Integer form. | |||||||||||
Converts the counter value to its
Long form. | |||||||||||
Converts the counter value to its
SnmpOid form. | |||||||||||
Extracts the counter from an index OID and returns its
value converted as an
SnmpOid . | |||||||||||
Converts the counter value to its
String form. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a new SnmpCounter64
from the specified long value.
v | The initialization value. |
---|
IllegalArgumentException | The specified value is negative
or larger than Long.MAX_VALUE .
|
---|
Constructs a new SnmpCounter64
from the specified Long
value.
v | The initialization value. |
---|
IllegalArgumentException | The specified value is negative
or larger than Long.MAX_VALUE .
|
---|
Appends an SnmpOid
representing an SnmpCounter64
to another OID.
source | An OID representing an SnmpCounter64 value. |
---|---|
dest | Where source should be appended. |
Clones the SnmpCounter64
object, making a copy of its data.
Performs a clone action. This provides a workaround for the
SnmpValue
interface.
Returns a textual description of the type object.
Converts the counter value to its integer form.
Returns the counter value of this SnmpCounter64
.
Scans an index OID, skips the counter value and returns the position of the next value.
index | The index array. |
---|---|
start | The position in the index array. |
SnmpStatusException | There is no counter value available at the start position. |
---|
Converts the counter value to its Integer
form.
Integer
representation of the value.
Converts the counter value to its Long
form.
Long
representation of the value.
Converts the counter value to its SnmpOid
form.
Extracts the counter from an index OID and returns its
value converted as an SnmpOid
.
index | The index array. |
---|---|
start | The position in the index array. |
SnmpStatusException | There is no counter value available at the start position. |
---|
Converts the counter value to its String
form.
String
representation of the value.