goldengate.snmp.utils
Class MemoryGauge32

java.lang.Object
  extended by org.snmp4j.smi.AbstractVariable
      extended by org.snmp4j.smi.UnsignedInteger32
          extended by org.snmp4j.smi.Gauge32
              extended by goldengate.snmp.interf.GgGauge32
                  extended by goldengate.snmp.utils.MemoryGauge32
All Implemented Interfaces:
Serializable, Cloneable, Comparable<org.snmp4j.smi.Variable>, org.snmp4j.asn1.BERSerializable, org.snmp4j.smi.AssignableFromLong, org.snmp4j.smi.AssignableFromString, org.snmp4j.smi.Variable

public class MemoryGauge32
extends GgGauge32

Specific Value for Gauge32 for Memory usage

Author:
Frederic Bregier
See Also:
Serialized Form

Nested Class Summary
static class MemoryGauge32.MemoryType
          The different Type of Memory Gauge32 elements
 
Field Summary
protected  Runtime runtime
          Runtime for Memory
protected  MemoryGauge32.MemoryType type
          Type of MemoryType used
 
Fields inherited from class org.snmp4j.smi.UnsignedInteger32
value
 
Fields inherited from class org.snmp4j.smi.AbstractVariable
SMISYNTAXES_PROPERTIES
 
Constructor Summary
MemoryGauge32(MemoryGauge32.MemoryType type)
           
 
Method Summary
protected  void setInternalValue()
          Function to set the data before it is accessed by SNMP4J.
protected  void setInternalValue(long value)
          Function to set the data before it is accessed by SNMP4J.
 
Methods inherited from class goldengate.snmp.interf.GgGauge32
clone, getValue, isDynamic
 
Methods inherited from class org.snmp4j.smi.Gauge32
getSyntax
 
Methods inherited from class org.snmp4j.smi.UnsignedInteger32
compareTo, decodeBER, encodeBER, equals, fromSubIndex, getBERLength, hashCode, setValue, setValue, toInt, toLong, toString, toSubIndex
 
Methods inherited from class org.snmp4j.smi.AbstractVariable
createFromBER, createFromSyntax, equal, getBERPayloadLength, getSyntaxFromString, getSyntaxString, getSyntaxString, isException
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

runtime

protected Runtime runtime
Runtime for Memory


type

protected MemoryGauge32.MemoryType type
Type of MemoryType used

Constructor Detail

MemoryGauge32

public MemoryGauge32(MemoryGauge32.MemoryType type)
Parameters:
type - the type of MemoryType used
Method Detail

setInternalValue

protected void setInternalValue()
Description copied from class: GgGauge32
Function to set the data before it is accessed by SNMP4J. This function MUST call setValue(long)

Specified by:
setInternalValue in class GgGauge32

setInternalValue

protected void setInternalValue(long value)
Description copied from class: GgGauge32
Function to set the data before it is accessed by SNMP4J. This function MUST call setValue(long)

Specified by:
setInternalValue in class GgGauge32


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.