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 and Type | Method and Description |
---|---|
int |
getCoreLimit()
Reports the number of cores the currently license allows.
|
int |
getCurrentCoreCount()
Reports the number of cores on the current system.
|
public int getCurrentCoreCount()
public int getCoreLimit()
Copyright (c) 2010-2016 DeltaXML Ltd. All Rights Reserved.