Interface CountSettings
-
public interface CountSettings
The interfaceCountSettings
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
, andEnumDSSXMLUserConnectionInfo
, for jobs, DB connections, and user connections, respectively.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(int level)
Adds a single level to the end of the count criteria.void
clear()
Clears the collection.int
get(int i)
Returns the item in the collection at the given 0-based index.int[]
getAll()
Returns the complete list of items, as an array of int.void
set(int[] levels)
Sets an array of fields to the collection so that the resultant collection is same as the given array.int
size()
Returns the total number of items in the collection.
-
-
-
Method Detail
-
add
void add(int level)
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.- Parameters:
level
- the field to group by.
-
clear
void clear()
Clears the collection.
-
set
void set(int[] levels)
Sets an array of fields to the collection so that the resultant collection is same as the given array.- Parameters:
levels
- an array of fields.
-
get
int get(int i)
Returns the item in the collection at the given 0-based index.- Parameters:
i
- the index of the item to retrieve.- Returns:
- the item at the specified position.
-
size
int size()
Returns the total number of items in the collection.- Returns:
- the total number of items in the collection.
-
getAll
int[] getAll()
Returns the complete list of items, as an array of int.- Returns:
- the complete list of items, as an array of int.
-
-