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(OctetString context,
VariableBinding indexType) |
Modifier and Type | Method and Description |
---|---|
protected void |
addUsed(IndexEntry entry) |
int |
allocate(int sessionID,
Variable indexValue,
boolean testOnly) |
Variable |
anyIndex(int sessionID,
boolean testOnly) |
int |
compareTo(Object o) |
protected void |
duplicateAllocation(IndexEntry entry) |
boolean |
equals(Object o) |
OctetString |
getContext() |
VariableBinding |
getIndexType() |
int |
hashCode() |
Variable |
newIndex(int sessionID,
boolean testOnly) |
protected IndexEntry |
newIndexEntry(int sessionID,
Variable indexValue) |
void |
release(int sessionID) |
int |
release(int sessionID,
Variable indexValue,
boolean testOnly) |
protected boolean |
removeEntry(IndexEntry entryKey) |
protected SortedMap<IndexEntry,IndexEntry> indexValues
protected SortedMap<IndexEntry,IndexEntry> usedValues
public IndexRegistryEntry(OctetString context, VariableBinding indexType)
protected IndexEntry newIndexEntry(int sessionID, Variable indexValue)
protected void duplicateAllocation(IndexEntry entry)
public int allocate(int sessionID, Variable indexValue, boolean testOnly)
public int release(int sessionID, 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 Comparable
public VariableBinding getIndexType()
public OctetString getContext()
public Variable newIndex(int sessionID, boolean testOnly)
public Variable anyIndex(int sessionID, boolean testOnly)
Copyright © 2016 SNMP4J.org. All rights reserved.