Interface IJVMClassCache

    • Method Detail

      • getPhasingOut

        java.lang.Long getPhasingOut()
        Getter for field PHASINGOUT

        Number of JVMs being phased-out

        The number of pooled JVMs that are dependent on an old shared class cache, and are being phased out. If the status of the current shared class cache is Stopped, then any pooled JVMs that are still dependent on it are included in the number of pooled JVMs being phased out.

      • getAutostartst

        ICICSEnums.EnablementValue getAutostartst()
        Getter for field AUTOSTARTST

        Autostart status

        The status of autostart for the shared class cache. The values are:

        Enabled
        If the shared class cache has been stopped or has not yet been started on this CICS execution, the shared class cache is started as soon as CICS receives a request to run a Java application in a JVM whose profile requires the use of the shared class cache.
        Disabled
        If the shared class cache has been stopped or has not yet been started on this CICS execution, an explicit PERFORM CLASSCACHE Start command is required to start it. If the status of the shared class cache is Stopped and autostart is disabled, and CICS receives a request to run a Java application in a JVM whose profile requires the use of the shared class cache, the request fails.
      • getOldcaches

        java.lang.Long getOldcaches()
        Getter for field OLDCACHES

        Number of class caches waiting for JVMs to terminate

        The number of old shared class caches that are still present in the region because they are waiting for pooled JVMs that are dependent on them to be phased out. If the status of the current shared class cache is Stopped, and pooled JVMs are still dependent on it, then that shared class cache is included in the number of old shared class caches.

      • getProfile

        java.lang.String getProfile()
        Getter for field PROFILE

        Profile used to start or used to reload the cache

        If the status of the shared class cache is Stopped, this displays the eight-character name of the JVM profile that will be used for a main JVM to start the shared class cache. If the status of the shared class cache is Started, Starting or Reloading, this displays the eight-character name of the JVM profile that was used for the last valid request to start or reload the shared class cache. This name is displayed even if the shared class cache fails to start or reload. The displayed JVM profile is used next time you issue the command to start or reload the shared class cache, unless you specify a different JVM profile using the Profile option.

      • getCachesize

        java.lang.Long getCachesize()
        Getter for field CACHESIZE

        Size of the class cache in bytes

        If the status of the shared class cache is Starting or Started, this is the size of the current shared class cache. If the status of the shared class cache is the shared class cache is Reloading, this is the size of the new shared class cache that is being loaded.

      • getCachefree

        java.lang.Long getCachefree()
        Getter for field CACHEFREE

        Amount in bytes of free space within the cache

        The amount of free space in the shared class cache, in bytes.

      • getStatus

        IJVMClassCache.StatusValue getStatus()
        Getter for field STATUS

        Class cache status

        The status of the current shared class cache. The values are:

        Started
        The class cache is ready, and it can be used by pooled JVMs.
        Stopped
        The class cache has either not been initialized on this CICS execution, or it has been stopped by a PERFORM CLASSCACHE Phaseout, Purge or Forcepurge command. If autostart is disabled, requests to run a Java application in a JVM whose profile requires the use of the shared class cache (that is, requests for pooled JVMs) will fail.
        Starting
        The shared class cache is being initialized, either through the autostart facility or because an explicit Start command was issued. While the shared class cache is starting, pooled JVMs that require the use of the shared class cache wait until the startup process is complete and the shared class cache is ready. If initialization of the shared class cache is unsuccessful, any waiting requests for pooled JVMs fail.
        Reloading
        A reload command has been issued, and a new shared class cache is being loaded to replace the existing shared class cache. While the shared class cache is reloading, pooled JVMs, both those that were already allocated to tasks and those that were allocated to tasks after the command was issued, continue to use the existing shared class cache until the new shared class cache is ready.
      • getStarttime

        java.util.Date getStarttime()
        Getter for field STARTTIME

        The time that the class cache was started

        The date and time when the current shared class cache was started. This time is expressed as local time.

      • getTotaljvms

        java.lang.Long getTotaljvms()
        Getter for field TOTALJVMS

        Number of JVMs dependent on the class cache

        The number of pooled JVMs in the CICS region that are dependent on a shared class cache. This includes both the pooled JVMs that are dependent on the current shared class cache, and any pooled JVMs that are dependent on an old shared class cache and are being phased out.

      • getReusest

        IJVMClassCache.ReusestValue getReusest()
        Getter for field REUSEST

        JVM reuse status

        For CICS TS 3.2 and later regions, the main JVM that initializes the shared class cache is always a continuous (reusable) JVM. This option indicates the reuse status of the main JVM as follows:

        Reuse
        The main JVM and pooled JVMs are continuous.
        Reset
        The main JVM and pooled JVMs are resettable.
        Unknown
        The class cache is not started. Although CICS cannot identify the reuse status in this situation, the status always becomes Reuse when the shared class cache is started.
      • getPeakcachejvm

        java.lang.Long getPeakcachejvm()
        Getter for field PEAKCACHEJVM

        Peak pooled (class cache) JVMs

        The peak number of JVMs in the JVM pool that used the shared class cache.

      • getJvmreqscache

        java.lang.Long getJvmreqscache()
        Getter for field JVMREQSCACHE

        JVM requests - class cache

        The total number of Java programs which requested a JVM that uses the shared class cache.