com.microstrategy.web.objects.admin.monitors.CountSettings |
The interface CountSettings
is a collection of fields to group
by when retrieving the count information of monitoring items.
The field specifies the field to be sorted upon, and is from the
enumerations EnumDSSXMLJobInfo
,
EnumDSSXMLDBConnectionInfo
, and
EnumDSSXMLUserConnectionInfo
, for jobs,
DB connections, and user connections, respectively.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
add(int level)
Adds a single level to the end of the count criteria.
| ||||||||||
abstract void |
clear()
Clears the collection.
| ||||||||||
abstract int |
get(int i)
Returns the item in the collection at the given 0-based index.
| ||||||||||
abstract int[] |
getAll()
Returns the complete list of items, as an array of int.
| ||||||||||
abstract void |
set(int[] levels)
Sets an array of fields to the collection so that the resultant collection
is same as the given array.
| ||||||||||
abstract int |
size()
Returns the total number of items in the collection.
|
Adds a single level to the end of the count criteria. If the level is already in the collection, it will be removed from its existing place in the collection and placed at the end.
level | the field to group by. |
---|
Clears the collection.
Returns the item in the collection at the given 0-based index.
i | the index of the item to retrieve. |
---|
Returns the complete list of items, as an array of int.
Sets an array of fields to the collection so that the resultant collection is same as the given array.
levels | an array of fields. |
---|
Returns the total number of items in the collection.