Interface CPULicenseDetails
-
public interface CPULicenseDetails
The CPULicenseDetails interface contains information about the CPU licensing state of an Intelligence Server. It is obtained from theLicenseSource
interface. This interface contains both general CPU-related license information, plus it is a collection ofMachineCPUInfo
objects, 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.Enumeration
elements()
Returns a java.util.Enumeration which can be used to iterate through the collection.MachineCPUInfo
get(int i)
Returns information about the system at the given index in the collection.java.lang.String
getAgreementID()
Returns the software license agreement ID.java.lang.String
getContractDate()
Returns the contract ID of the license.java.lang.String
getContractID()
Returns the contract ID of the license.MachineCPUInfo
getLeadMachine()
Returns the lead machine which has the latest contract.java.lang.String
getMaxClockSpeed()
Returns the maximum clock speed of CPUs that the license permits.int
getMaxCPUs()
Returns the maximum number of CPUs that the license permits.int
getTotalNumberOfCPUs()
Returns the total number of CPUs being used by all machines under the license.boolean
isEmpty()
Returns true if size = 0, false otherwise.int
size()
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
MachineCPUInfo
collection 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.
-
-