public interface UpdateStrategy
An
UpdateStrategy defines how UpdatableManagedObjects
are updated on behalf of server queries to a MOServer.- Version:
- 1.2
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisUpdateNeeded(MOServer server, UpdatableManagedObject<?> mo, MOQuery query) Checks whether the suppliedUpdatableManagedObjectneeds to be updated or not to serve the supplied query.
-
Method Details
-
isUpdateNeeded
Checks whether the suppliedUpdatableManagedObjectneeds to be updated or not to serve the supplied query.- Parameters:
server- the MOServer trying to access themo(can benullif no such server is known).mo- the accessed updatable managed object.query- the query accessing themo.- Returns:
trueif the server (or any other interested instance) should callUpdatableManagedObject.update(MOQuery updateScope)to updatemo's content.
-