public class SharedClassCacheInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS_MODE_32
Specifies a 32-bit cache.
|
static int |
ADDRESS_MODE_64
Specifies a 64-bit cache.
|
static int |
COMPRESSED_REFS
Specifies a compressedRefs cache.
|
static int |
COMPRESSED_REFS_UNKNOWN
The compressedRefs mode is unknown for the cache.
|
static int |
JVMLEVEL_JAVA5
Specifies a Java 5 cache.
|
static int |
JVMLEVEL_JAVA6
Specifies a Java 6 cache.
|
static int |
JVMLEVEL_JAVA7
Specifies a Java 7 cache.
|
static int |
JVMLEVEL_JAVA8
Specifies a Java 8 cache.
|
static int |
NON_COMPRESSED_REFS
Specifies a non-compressedRefs cache.
|
Modifier and Type | Method and Description |
---|---|
int |
getCacheAddressMode()
Gets the address mode for the shared class cache.
|
int |
getCacheCompressedRefsMode()
Get the compressedRefs mode for the shared class cache.
|
long |
getCacheFreeBytes()
Gets the amount of free bytes in the shared class cache.
|
int |
getCacheJVMLevel()
Gets the JVM level for the shared class cache.
|
int |
getCacheLayer()
Get the layer number for the shared class cache.
|
java.lang.String |
getCacheName()
Gets the cache name for the shared class cache.
|
long |
getCacheSize()
Gets total usable shared class cache size.
|
long |
getCacheSoftMaxBytes()
Get the soft limit for available space in the cache in bytes.
|
int |
getCacheType()
Check the type of the shared class cache.
|
java.util.Date |
getLastDetach()
Gets the time when the shared class cache was last detached.
|
int |
getOSsemid()
Gets the OS semaphore ID associated with the shared class cache.
|
int |
getOSshmid()
Gets the OS shared memory ID associated with the shared class cache.
|
boolean |
isCacheCompatible()
Checks the compatibility of the shared class cache with this JVM.
|
boolean |
isCacheCorrupt()
Checks if the shared class cache is corrupt.
|
boolean |
isCachePersistent()
Deprecated.
Use getCacheType() instead.
|
public static final int JVMLEVEL_JAVA5
public static final int JVMLEVEL_JAVA6
public static final int JVMLEVEL_JAVA7
public static final int JVMLEVEL_JAVA8
public static final int ADDRESS_MODE_32
public static final int ADDRESS_MODE_64
public static final int COMPRESSED_REFS
public static final int NON_COMPRESSED_REFS
public static final int COMPRESSED_REFS_UNKNOWN
public java.lang.String getCacheName()
public boolean isCacheCompatible()
@Deprecated public boolean isCachePersistent()
public int getCacheType()
public int getOSshmid()
public int getOSsemid()
public java.util.Date getLastDetach()
public int getCacheJVMLevel()
public int getCacheAddressMode()
ADDRESS_MODE_32
or
ADDRESS_MODE_64
public boolean isCacheCorrupt()
public long getCacheSize()
public long getCacheFreeBytes()
public long getCacheSoftMaxBytes()
public int getCacheCompressedRefsMode()
COMPRESSED_REFS
or
NON_COMPRESSED_REFS
or
COMPRESSED_REFS_UNKNOWN
public int getCacheLayer()
Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1998, 2023 IBM Corp. and others.