public interface

CPULicenseDetails

com.microstrategy.web.objects.admin.licensing.CPULicenseDetails

Class Overview

The CPULicenseDetails interface contains information about the CPU licensing state of an Intelligence Server. It is obtained from the LicenseSource interface. This interface contains both general CPU-related license information, plus it is a collection of MachineCPUInfo objects, which contains the information for each known Intelligence Server machine.

Summary

Public Methods
abstract Enumeration elements()
Returns a java.util.Enumeration which can be used to iterate through the collection.
abstract MachineCPUInfo get(int i)
Returns information about the system at the given index in the collection.
abstract String getAgreementID()
Returns the software license agreement ID.
abstract String getContractDate()
Returns the contract ID of the license.
abstract String getContractID()
Returns the contract ID of the license.
abstract MachineCPUInfo getLeadMachine()
Returns the lead machine which has the latest contract.
abstract int getMaxCPUs()
Returns the maximum number of CPUs that the license permits.
abstract String getMaxClockSpeed()
Returns the maximum clock speed of CPUs that the license permits.
abstract int getTotalNumberOfCPUs()
Returns the total number of CPUs being used by all machines under the license.
abstract boolean isEmpty()
Returns true if size = 0, false otherwise.
abstract int size()
Returns the number of items in the collection.

Public Methods

public abstract Enumeration elements ()

Returns a java.util.Enumeration which can be used to iterate through the collection.

Returns
  • A java.util.Enumeration which can be used to iterate through the collection.

public abstract MachineCPUInfo get (int i)

Returns information about the system at the given index in the collection.

Parameters
i The index of the item in the collection to return.
Returns
  • A MachineCPUInfo collection containing the CPU usage information for a single machine.

public abstract String getAgreementID ()

Returns the software license agreement ID.

Returns
  • the software license agreement ID.

public abstract String getContractDate ()

Returns the contract ID of the license.

Returns
  • the contract ID of the license.

public abstract String getContractID ()

Returns the contract ID of the license.

Returns
  • The contract ID of the license.

public abstract MachineCPUInfo getLeadMachine ()

Returns the lead machine which has the latest contract.

Returns
  • the lead machine which has the latest contract.

public abstract int getMaxCPUs ()

Returns the maximum number of CPUs that the license permits.

Returns
  • The maximum number of CPUs that the license allows.

public abstract String getMaxClockSpeed ()

Returns the maximum clock speed of CPUs that the license permits.

Returns
  • The maximum clock speed of CPUs that the license allows.

public abstract int getTotalNumberOfCPUs ()

Returns the total number of CPUs being used by all machines under the license.

Returns
  • the total number of CPUs being used by all machines.

public abstract boolean isEmpty ()

Returns true if size = 0, false otherwise.

Returns
  • True if the collection is empty, false otherwise.

public abstract int size ()

Returns the number of items in the collection.

Returns
  • The size of the collection.