public interface UpdateStrategy
UpdateStrategy
defines how UpdatableManagedObject
s
are updated on behalf of server queries to a MOServer
.Modifier and Type | Method and Description |
---|---|
boolean |
isUpdateNeeded(MOServer server,
UpdatableManagedObject mo,
MOQuery query)
Checks whether the supplied
UpdatableManagedObject needs to be
updated or not to serve the supplied query. |
boolean isUpdateNeeded(MOServer server, UpdatableManagedObject mo, MOQuery query)
UpdatableManagedObject
needs to be
updated or not to serve the supplied query.server
- the MOServer trying to access the mo
(can be
null
if no such server is known).mo
- the accessed updatable managed object.query
- the query accessing the mo
.true
if the server (or any other interested instance)
should call UpdatableManagedObject.update(MOQuery updateScope)
to update mo
's content.Copyright © 2019 SNMP4J.org. All rights reserved.