
public interface Runtime
The implementation runtime allows applications to interface with the environment implementations are running in.
Example: Accessing the runtime of all jDTAUS Core SPI compliant
implementations in the system
Runtime runtime =
(Runtime) ContainerFactory.getContainer().
getImplementation(Runtime.class, "jDTAUS Core SPI");
| Modifier and Type | Method and Description |
|---|---|
long |
getAllocatedPercent()
Computes the amount of allocated memory in percent.
|
long |
getAvailableBooleans()
Computes the maximum number of boolean values currently being available
to allocation.
|
long |
getAvailableBytes()
Computes the maximum number of byte values currently being available to
allocation.
|
long |
getAvailableChars()
Computes the maximum number of char values currently being available
to allocation.
|
long |
getAvailableDoubles()
Computes the maximum number of double values currently being available
to allocation.
|
long |
getAvailableFloats()
Computes the maximum number of float values currently being available
to allocation.
|
long |
getAvailableIntegers()
Computes the maximum number of integer values currently being available
to allocation.
|
long |
getAvailableLongs()
Computes the maximum number of long values currently being available
to allocation.
|
long |
getAvailableShorts()
Computes the maximum number of short values currently being available to
allocation.
|
long getAllocatedPercent()
100 - getAllocatedPercent()% of memory is currently
available to allocation).long getAvailableBooleans()
long getAvailableBytes()
long getAvailableChars()
long getAvailableDoubles()
long getAvailableFloats()
long getAvailableIntegers()
long getAvailableLongs()
long getAvailableShorts()
Copyright © 2005-2012 jDTAUS. All Rights Reserved.