Package | Description |
---|---|
com.hp.ucmdb.api.topology |
This package contains services for defining and running TQL queries and processing the results.
|
com.hp.ucmdb.api.topology.notification |
This package contains services for listening for changes in the IT universe and changes in query results.
|
Modifier and Type | Method and Description |
---|---|
QueryResultVersion |
TopologyQueryFactory.createQueryResultVersion(String versionAsString)
Creates a query result vresion from the string produced by
asString() for comparison purposes. |
QueryResultVersion |
ElementIdsForChangedCachedQuery.currentQueryResultVersion()
The current query version.
|
QueryResultVersion |
LiveTopology.getQueryResultVersion()
The version of this topology.
|
QueryResultVersion |
Topology.getQueryResultVersion()
The version of this topology.
|
Modifier and Type | Method and Description |
---|---|
int |
QueryResultVersion.compareTo(QueryResultVersion queryResultVersion)
Compares to another query result version (following
Comparable rules). |
QueryResultChange |
LiveQuery.getChanges(QueryResultVersion queryResultVersion)
returns the changes in the result of the query since the result had the given result version
Notice that there may be cases where has changes returned true, but get changes will return empty changes
since it accumulates changes, for example, if certain object was added and than was removed
|
boolean |
LiveQuery.hasChanges(QueryResultVersion queryResultVersion)
Determines whether there are changes in the result of the query since
the result had the given result version.
|
boolean |
TopologyQueryService.hasChanges(String queryName,
QueryResultVersion queryResultVersion)
Checks if the results of the query were changed since the result version was created.
|
QueryNamesAndVersions |
QueryNamesAndVersions.queryToCheckIfUpdated(String queryName,
QueryResultVersion resultVersion)
Adds a query to check if its cached result is newer than the given result version.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
TopologyQueryService.hasChanges(Map<String,QueryResultVersion> queries2check)
Same as
TopologyQueryService.hasChanges(String, QueryResultVersion) , but is passed a collection of queries and their version
to check for changes |
Modifier and Type | Method and Description |
---|---|
QueryResultVersion |
QueryResultChange.getQueryResultVersion()
Returns the query result version after the change.
|
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.