public class IndexRegistryEntry extends Object implements Comparable
| Modifier and Type | Field and Description |
|---|---|
protected SortedMap<IndexEntry,IndexEntry> |
indexValues |
protected SortedMap<IndexEntry,IndexEntry> |
usedValues |
| Constructor and Description |
|---|
IndexRegistryEntry(org.snmp4j.smi.OctetString context,
org.snmp4j.smi.VariableBinding indexType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addUsed(IndexEntry entry) |
int |
allocate(int sessionID,
org.snmp4j.smi.Variable indexValue,
boolean testOnly) |
org.snmp4j.smi.Variable |
anyIndex(int sessionID,
boolean testOnly) |
int |
compareTo(Object o) |
protected void |
duplicateAllocation(IndexEntry entry) |
boolean |
equals(Object o) |
org.snmp4j.smi.OctetString |
getContext() |
org.snmp4j.smi.VariableBinding |
getIndexType() |
int |
hashCode() |
org.snmp4j.smi.Variable |
newIndex(int sessionID,
boolean testOnly) |
protected IndexEntry |
newIndexEntry(int sessionID,
org.snmp4j.smi.Variable indexValue) |
void |
release(int sessionID) |
int |
release(int sessionID,
org.snmp4j.smi.Variable indexValue,
boolean testOnly) |
protected boolean |
removeEntry(IndexEntry entryKey) |
protected SortedMap<IndexEntry,IndexEntry> indexValues
protected SortedMap<IndexEntry,IndexEntry> usedValues
public IndexRegistryEntry(org.snmp4j.smi.OctetString context,
org.snmp4j.smi.VariableBinding indexType)
protected IndexEntry newIndexEntry(int sessionID, org.snmp4j.smi.Variable indexValue)
protected void duplicateAllocation(IndexEntry entry)
public int allocate(int sessionID,
org.snmp4j.smi.Variable indexValue,
boolean testOnly)
public int release(int sessionID,
org.snmp4j.smi.Variable indexValue,
boolean testOnly)
protected boolean removeEntry(IndexEntry entryKey)
protected void addUsed(IndexEntry entry)
public void release(int sessionID)
public int compareTo(Object o)
compareTo in interface Comparablepublic org.snmp4j.smi.VariableBinding getIndexType()
public org.snmp4j.smi.OctetString getContext()
public org.snmp4j.smi.Variable newIndex(int sessionID,
boolean testOnly)
public org.snmp4j.smi.Variable anyIndex(int sessionID,
boolean testOnly)
Copyright © 2020 SNMP4J.org. All rights reserved.