public final class

SnmpLoadedClassData

extends SnmpCachedData
java.lang.Object
   ↳ sun.management.snmp.util.SnmpCachedData
     ↳ sun.management.snmp.util.SnmpLoadedClassData

Class Overview

This class is used to cache LoadedClass table data. WARNING : MUST IMPLEMENT THE SnmpTableHandler directly. Some changes in daniel classes.

Summary

[Expand]
Inherited Fields
From class sun.management.snmp.util.SnmpCachedData
Public Constructors
SnmpLoadedClassData(long lastUpdated, TreeMap<SnmpOid, Object> indexMap)
Constructs a new instance of SnmpLoadedClassData.
Public Methods
final boolean contains(SnmpOid index)
Returns true if the given index is present.
final Object getData(SnmpOid index)
Returns the data associated with the given index.
final SnmpOid getNext(SnmpOid index)
Returns the index that immediately follows the given index.
[Expand]
Inherited Methods
From class sun.management.snmp.util.SnmpCachedData
From class java.lang.Object
From interface sun.management.snmp.util.SnmpTableHandler

Public Constructors

public SnmpLoadedClassData (long lastUpdated, TreeMap<SnmpOid, Object> indexMap)

Constructs a new instance of SnmpLoadedClassData. Instances are immutable.

Parameters
lastUpdated Time stamp as returned by System.currentTimeMillis()
indexMap The table indexed table data, sorted in ascending order by oidComparator. The keys must be instances of SnmpOid.

Public Methods

public final boolean contains (SnmpOid index)

Returns true if the given index is present.

public final Object getData (SnmpOid index)

Returns the data associated with the given index. If the given index is not found, null is returned. Note that returning null does not necessarily means that the index was not found.

public final SnmpOid getNext (SnmpOid index)

Returns the index that immediately follows the given index. The returned index is strictly greater than the given index, and is contained in the table.
If the given index is null, returns the first index in the table.
If there are no index after the given index, returns null.