-
- All Known Implementing Classes:
Snmp4jConfigMib
public interface MOPriorityProvider
MOPriorityProvider
is an object (often aManagedObject
) that defines a prioritisation of otherManagedObject
s. This prioritisation can be used to define the order for storing and especially restoring and initializingManagedObject
s byMOPersistenceProvider
instances.- Since:
- 3.5.0
- Author:
- Frank Fock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObject<?>
getBootManagedObject()
Returns theManagedObject
that stores the priority information and therefore needs to be stored/restored first to determinegetPriorityMap()
.SortedMap<org.snmp4j.smi.OID,Integer>
getPriorityMap()
Returns a sorted map that maps object identifiers to a integer based priority where lesser numbers represent higher priority, i.e.
-
-
-
Method Detail
-
getPriorityMap
SortedMap<org.snmp4j.smi.OID,Integer> getPriorityMap()
Returns a sorted map that maps object identifiers to a integer based priority where lesser numbers represent higher priority, i.e. earlier processing in store and restore operations. TheOID
s represent the lower bound of theMOScope
ofManagedObject
s or any of their parent sub-trees.- Returns:
- a sorted map of OID to zero based priorities.
-
getBootManagedObject
ManagedObject<?> getBootManagedObject()
Returns theManagedObject
that stores the priority information and therefore needs to be stored/restored first to determinegetPriorityMap()
.- Returns:
- the
MOScope
that identifies this managed object.
-
-