public class CPUCountException extends LicenseException
An exception indicating that the license used with the software does not support the number of runtime cores being used.
A license may contains a 'core limit' which specifies the maximum runtime cores which the DeltaXML product is allowed to use.
The definition of a runtime core 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||Constructor and Description|
Constructs a new CPUCountException appropriate for use in the DeltaXML code.
|Modifier and Type||Method and Description|
Reports the number of cores the currently license allows.
Reports the number of cores on the current system.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected CPUCountException(int currentCoreCount, int coreLimit)
currentCoreCount- The number of cores on the current system.
coreLimit- The core limit associated with the activated license.
public int getCurrentCoreCount()
public int getCoreLimit()
Copyright © 2001-2016 DeltaXML Ltd. All Rights Reserved.