Class GCLogs

  • All Implemented Interfaces:
    ExtensionPoint

    @Extension(ordinal=90.0)
    public class GCLogs
    extends Component
    GC Logs Retriever.

    Introspects the running VM for -Xloggc:blah.log option and so on to propose including those if found

    NOTE: currently only tested on OpenJDK / HotSpot.

    • Constructor Detail

      • GCLogs

        public GCLogs()
    • Method Detail

      • getRequiredPermissions

        @NonNull
        public Set<Permission> getRequiredPermissions()
        Description copied from class: Component
        Returns the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle. An empty list indicates that any user can include this bundle.
        Specified by:
        getRequiredPermissions in class Component
        Returns:
        the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.
      • getGcLogFileLocation

        @CheckForNull
        public String getGcLogFileLocation()
      • isFileLocationParameterized

        public boolean isFileLocationParameterized​(String fileLocation)
      • isGcLogRotationConfigured

        public boolean isGcLogRotationConfigured()