|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Runtime
Implementation 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");
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||