public abstract class MemoryArea
extends java.lang.Object
true:Determines that the processing of an API can be continued.
This value is returned when the state of the Explicit memory block that is to be processed is enabled.
false:Determines that an API cannot be processed.
This value is returned when the state of the Explicit memory block, that is to be processed, is disabled.
InaccessibleMemoryAreaException (exception class):This exception has been thrown when an attempt was made to execute an unsupported functionality.
For details on InaccessibleMemoryAreaException classes, see InaccessibleMemoryAreaException.
This exception has been thrown when the Explicit memory block to be processed is in the following states.
| Modifier and Type | Method and Description |
|---|---|
abstract long |
freeMemory()
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract java.lang.String |
getName()
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract java.lang.Object |
newArray(java.lang.Class type,
int length)
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract java.lang.Object |
newArray(java.lang.Class type,
int[] dimensions)
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract java.lang.Object |
newInstance(java.lang.Class type)
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract java.lang.Object |
newInstance(java.lang.Class type,
java.lang.Object... args)
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract java.lang.Object |
newInstance(java.lang.reflect.Constructor cons,
java.lang.Object... args)
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract void |
setName(java.lang.String name)
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract java.lang.String |
toString()
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract long |
totalMemory()
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
abstract long |
usedMemory()
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing.
|
public abstract java.lang.String getName()
public abstract void setName(java.lang.String name)
throws InaccessibleMemoryAreaException
InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.public abstract java.lang.String toString()
toString in class java.lang.Objectpublic abstract java.lang.Object newInstance(java.lang.Class type)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException,
java.lang.SecurityException,
InaccessibleMemoryAreaException,
java.lang.ExceptionInInitializerError
java.lang.InstantiationException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.IllegalAccessException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.reflect.InvocationTargetException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.NoSuchMethodException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.SecurityException - For details on the processing of each method, see methods of the inherited classes with the same signature.InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.ExceptionInInitializerError - For details on the processing of each method, see methods of the inherited classes with the same signature.public abstract java.lang.Object newInstance(java.lang.Class type,
java.lang.Object... args)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException,
java.lang.SecurityException,
InaccessibleMemoryAreaException,
java.lang.ExceptionInInitializerError
java.lang.InstantiationException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.IllegalAccessException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.IllegalArgumentException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.reflect.InvocationTargetException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.NoSuchMethodException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.SecurityException - For details on the processing of each method, see methods of the inherited classes with the same signature.InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.ExceptionInInitializerError - For details on the processing of each method, see methods of the inherited classes with the same signature.public abstract java.lang.Object newInstance(java.lang.reflect.Constructor cons,
java.lang.Object... args)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException,
InaccessibleMemoryAreaException,
java.lang.ExceptionInInitializerError
java.lang.InstantiationException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.IllegalAccessException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.IllegalArgumentException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.reflect.InvocationTargetException - For details on the processing of each method, see methods of the inherited classes with the same signature.InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.ExceptionInInitializerError - For details on the processing of each method, see methods of the inherited classes with the same signature.public abstract java.lang.Object newArray(java.lang.Class type,
int length)
throws InaccessibleMemoryAreaException,
java.lang.NegativeArraySizeException,
java.lang.IllegalArgumentException
InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.NegativeArraySizeException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.IllegalArgumentException - For details on the processing of each method, see methods of the inherited classes with the same signature.public abstract java.lang.Object newArray(java.lang.Class type,
int[] dimensions)
throws InaccessibleMemoryAreaException,
java.lang.IllegalArgumentException,
java.lang.NegativeArraySizeException
InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.IllegalArgumentException - For details on the processing of each method, see methods of the inherited classes with the same signature.java.lang.NegativeArraySizeException - For details on the processing of each method, see methods of the inherited classes with the same signature.public abstract long freeMemory()
throws InaccessibleMemoryAreaException
InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.public abstract long usedMemory()
throws InaccessibleMemoryAreaException
InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.public abstract long totalMemory()
throws InaccessibleMemoryAreaException
InaccessibleMemoryAreaException - For details on the processing of each method, see methods of the inherited classes with the same signature.Copyright (C) 2015, Hitachi, Ltd.
Copyright (C) 2013, Oracle and/or its affiliates. All rights reserved.