-
public interface UpdateStrategyAnUpdateStrategydefines howUpdatableManagedObjects are updated on behalf of server queries to aMOServer.- Version:
- 1.2
- Author:
- Frank Fock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisUpdateNeeded(MOServer server, UpdatableManagedObject<?> mo, MOQuery query)Checks whether the suppliedUpdatableManagedObjectneeds to be updated or not to serve the supplied query.
-
-
-
Method Detail
-
isUpdateNeeded
boolean isUpdateNeeded(MOServer server, UpdatableManagedObject<?> mo, MOQuery query)
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.
-
-