public interface

CountSettings

com.microstrategy.web.objects.admin.monitors.CountSettings

Class Overview

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.

Summary

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.

Public Methods

public abstract 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.

public abstract void clear ()

Clears the collection.

public abstract 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.

public abstract int[] getAll ()

Returns the complete list of items, as an array of int.

Returns
  • the complete list of items, as an array of int.

public abstract 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.

public abstract int size ()

Returns the total number of items in the collection.

Returns
  • the total number of items in the collection.