com.hp.ucmdb.api.topology
Enum QueryDefinitionRecalcPriority

java.lang.Object
  extended by java.lang.Enum<QueryDefinitionRecalcPriority>
      extended by com.hp.ucmdb.api.topology.QueryDefinitionRecalcPriority
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<QueryDefinitionRecalcPriority>

public enum QueryDefinitionRecalcPriority
extends java.lang.Enum<QueryDefinitionRecalcPriority>
implements java.io.Serializable

How soon a saved query is recalculated after data change.

Since:
UCMDB 9.0

Enum Constant Summary
EXPRESS
          Recalculates automatically as soon as relevant changes are detected.
HIGH
          Recalculates automatically with a 'high' priority.
LOW
          Recalculates automatically with a 'low' priority.
MEDIUM
          Recalculates automatically with a 'medium' priority.
NOT_ACTIVE
          Does not recalculate automatically after data change.
 
Method Summary
static QueryDefinitionRecalcPriority valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QueryDefinitionRecalcPriority[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_ACTIVE

public static final QueryDefinitionRecalcPriority NOT_ACTIVE
Does not recalculate automatically after data change. This means there will be no listeners fired for this query definition, nor can a query based on this definition be tracked as LiveQuery or be asked "has changes".

See Also:
LiveQuery, QueryResultListener, TopologyQueryService.getLiveQuery(java.lang.String), TopologyQueryService.registerQueryResultListener(com.hp.ucmdb.api.topology.notification.QueryResultListener, java.lang.String), TopologyQueryService.hasChanges(java.lang.String, com.hp.ucmdb.api.topology.QueryResultVersion)

LOW

public static final QueryDefinitionRecalcPriority LOW
Recalculates automatically with a 'low' priority.


MEDIUM

public static final QueryDefinitionRecalcPriority MEDIUM
Recalculates automatically with a 'medium' priority.


HIGH

public static final QueryDefinitionRecalcPriority HIGH
Recalculates automatically with a 'high' priority.


EXPRESS

public static final QueryDefinitionRecalcPriority EXPRESS
Recalculates automatically as soon as relevant changes are detected.

This does not guarantee that a query request placed after a modification will return modified data.

Method Detail

values

public static QueryDefinitionRecalcPriority[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (QueryDefinitionRecalcPriority c : QueryDefinitionRecalcPriority.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static QueryDefinitionRecalcPriority valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.