Interface CPULicenseDetails
- 
public interface CPULicenseDetailsThe CPULicenseDetails interface contains information about the CPU licensing state of an Intelligence Server. It is obtained from theLicenseSourceinterface. This interface contains both general CPU-related license information, plus it is a collection ofMachineCPUInfoobjects, which contains the information for each known Intelligence Server machine.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Enumerationelements()Returns a java.util.Enumeration which can be used to iterate through the collection.MachineCPUInfoget(int i)Returns information about the system at the given index in the collection.java.lang.StringgetAgreementID()Returns the software license agreement ID.java.lang.StringgetContractDate()Returns the contract ID of the license.java.lang.StringgetContractID()Returns the contract ID of the license.MachineCPUInfogetLeadMachine()Returns the lead machine which has the latest contract.java.lang.StringgetMaxClockSpeed()Returns the maximum clock speed of CPUs that the license permits.intgetMaxCPUs()Returns the maximum number of CPUs that the license permits.intgetTotalNumberOfCPUs()Returns the total number of CPUs being used by all machines under the license.booleanisEmpty()Returns true if size = 0, false otherwise.intsize()Returns the number of items in the collection. 
 - 
 
- 
- 
Method Detail
- 
getContractID
java.lang.String getContractID()
Returns the contract ID of the license.- Returns:
 - The contract ID of the license.
 
 
- 
getContractDate
java.lang.String getContractDate()
Returns the contract ID of the license.- Returns:
 - the contract ID of the license.
 - Since:
 - MicroStrategy Web 7.5.4
 
 
- 
getAgreementID
java.lang.String getAgreementID()
Returns the software license agreement ID.- Returns:
 - the software license agreement ID.
 - Since:
 - MicroStrategy Web 7.5.4
 
 
- 
getMaxClockSpeed
java.lang.String getMaxClockSpeed()
Returns the maximum clock speed of CPUs that the license permits.- Returns:
 - The maximum clock speed of CPUs that the license allows.
 - Since:
 - MicroStrategy Web 7.5.4
 
 
- 
getLeadMachine
MachineCPUInfo getLeadMachine()
Returns the lead machine which has the latest contract.- Returns:
 - the lead machine which has the latest contract.
 - Since:
 - MicroStrategy Web 7.5.4
 
 
- 
getTotalNumberOfCPUs
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.
 - Since:
 - MicroStrategy Web 7.5.4
 
 
- 
getMaxCPUs
int getMaxCPUs()
Returns the maximum number of CPUs that the license permits.- Returns:
 - The maximum number of CPUs that the license allows.
 
 
- 
get
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 
MachineCPUInfocollection containing the CPU usage information for a single machine. 
 
- 
size
int size()
Returns the number of items in the collection.- Returns:
 - The size of the collection.
 
 
- 
isEmpty
boolean isEmpty()
Returns true if size = 0, false otherwise.- Returns:
 - True if the collection is empty, false otherwise.
 
 
- 
elements
java.util.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.
 
 
 - 
 
 -