|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Image
This class represents an entire operating system image (e.g. a core file). There are methods for accessing information about the architecture of the machine on which the image was running - hardware and operating system. The major feature, however, is the ability to iterate over the Address Spaces contained within the image.
| Method Summary | |
|---|---|
java.util.Iterator |
getAddressSpaces()
Get the set of address spaces within the image - typically one but may be more on some systems such as Z/OS. |
long |
getCreationTime()
Determines when the image was created |
java.lang.String |
getHostName()
Get the host name of the system where the image was running. |
long |
getInstalledMemory()
Get the amount of physical memory (in bytes) installed in the system on which the image was running. |
java.util.Iterator |
getIPAddresses()
The set of IP addresses (as InetAddresses) which the system running the image possessed. |
int |
getProcessorCount()
Get the number of CPUs running in the system on which the image was running. |
java.lang.String |
getProcessorSubType()
Get the precise model of the CPU. |
java.lang.String |
getProcessorType()
Get the family name for the processor on which the image was running. |
java.lang.String |
getSystemSubType()
Get the detailed name of the operating system. |
java.lang.String |
getSystemType()
Get the family name for the operating system. |
| Method Detail |
|---|
java.util.Iterator getAddressSpaces()
ImageAddressSpace,
CorruptData
java.lang.String getProcessorType()
throws DataUnavailable,
CorruptDataException
DataUnavailable - if this data cannot be inferred from this core type
CorruptDataException - if expected data cannot be read from the core
java.lang.String getProcessorSubType()
throws DataUnavailable,
CorruptDataException
Note that this value is platform and implementation dependent.
DataUnavailable
CorruptDataException
int getProcessorCount()
throws DataUnavailable
DataUnavailable - if the information cannot be provided
java.lang.String getSystemType()
throws DataUnavailable,
CorruptDataException
DataUnavailable - if this data cannot be inferred from this core type
CorruptDataException - if expected data cannot be read from the core
java.lang.String getSystemSubType()
throws DataUnavailable,
CorruptDataException
DataUnavailable
CorruptDataException
long getInstalledMemory()
throws DataUnavailable
DataUnavailable - if the information cannot be provided
long getCreationTime()
throws DataUnavailable
DataUnavailable
java.lang.String getHostName()
throws DataUnavailable,
CorruptDataException
DataUnavailable - If the image did not provide this information (would happen
if the system did not know its hostname or if the image pre-dated this feature).
CorruptDataException
java.util.Iterator getIPAddresses()
throws DataUnavailable
DataUnavailable - If the image did not provide this information (would happen
if the system failed to look them up or if the image pre-dated this feature).java.net.InetAddress,
CorruptData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||