Provides a factory for creating a File object to the backing store file for instrumentation shared memory region for a JVM identified by its Local Java Virtual Machine Identifier, or lvmid.
java.io.File
| Modifier and Type | Field and Description |
|---|---|
| public static final String | dirNamePrefix
The file name prefix for PerfData shared memory files. |
| public static final String | fileNamePattern
The file name pattern for PerfData shared memory files. |
| private static final PlatformSupport | platSupport
Platform Specific methods for looking up temporary directories and process IDs. |
| public static final String | userDirNamePattern
The directory name pattern for the user directories. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: int - the local Java Virtual Machine Identifier for the target associated with the fileA File object representing the name of a
shared memory region for a target JVM file)Method to extract a local Java Virtual Machine Identifier from the file name of the given File object. |
| public static List | Returns: ListReturn the names of the temporary directories being searched for HotSpot PerfData backing store files. |
| public static String | Returns: String - the name of the temporary directory.Return the name of the temporary directory being searched for HotSpot PerfData backing store files. |
| dirNamePrefix | back to summary |
|---|---|
| public static final String dirNamePrefix The file name prefix for PerfData shared memory files. This prefix must be kept in sync with the prefix used by the JVM. | |
| fileNamePattern | back to summary |
|---|---|
| public static final String fileNamePattern The file name pattern for PerfData shared memory files. This pattern must be kept in synch with the file name pattern used by the 1.4.2 and later HotSpot JVM. Earlier versions are no longer supported. | |
| platSupport | back to summary |
|---|---|
| private static final PlatformSupport platSupport Platform Specific methods for looking up temporary directories and process IDs. | |
| userDirNamePattern | back to summary |
|---|---|
| public static final String userDirNamePattern The directory name pattern for the user directories. | |
| PerfDataFile | back to summary |
|---|---|
| private PerfDataFile() | |
| getLocalVmId | back to summary |
|---|---|
| public static int getLocalVmId(File file) Method to extract a local Java Virtual Machine Identifier from the file name of the given File object.
| |
| getTempDirectories | back to summary |
|---|---|
| public static List Return the names of the temporary directories being searched for HotSpot PerfData backing store files. This method returns the traditional host temp directory but also includes a list of temp directories used by containers. | |
| getTempDirectory | back to summary |
|---|---|
| public static String getTempDirectory() Return the name of the temporary directory being searched for HotSpot PerfData backing store files. This method generally returns the value of the java.io.tmpdir property. However, on some platforms it may return a different directory, as the JVM implementation may store the PerfData backing store files in a different directory for performance reasons.
| |