public class CPUCountException extends LicenseException
An exception indicating that the license used to activate the software does not support the number of CPUs being used.
An activation key or license contains a 'cpu limit'
which specifies the maximum CPUs the DeltaXML product
is allowed to use.
The definition of a CPU is whatever is returned by the
Runtime.availableProcessors() method; which
typically counts 'cores' in multi-core systems. This checking
and therefore this exception is typically turned-off in
DeltaXML Enterprise licenses. Please see our licensing
Q&A for a discussion of disabling CPUs and virtualization.
|Modifier and Type||Method and Description|
Reports the number of CPUs the currently activated license allows.
Reports the number of CPUs on the current system.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int getCurrentCpuCount()
public int getCpuLimit()
Copyright © 2023 Deltaman Group Ltd. All Rights Reserved.