Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
java.lang.management

Interface RuntimeMXBean

    • Method Detail

      • getName

        String getName()
        Returns the name representing the running Java virtual machine. The returned name string can be any arbitrary string and a Java virtual machine implementation can choose to embed platform-specific useful information in the returned name string. Each running virtual machine could have a different name.
        Returns:
        the name representing the running Java virtual machine.
      • getManagementSpecVersion

        String getManagementSpecVersion()
        Returns the version of the specification for the management interface implemented by the running Java virtual machine.
        Returns:
        the version of the specification for the management interface implemented by the running Java virtual machine.
      • isBootClassPathSupported

        boolean isBootClassPathSupported()
        Tests if the Java virtual machine supports the boot class path mechanism used by the bootstrap class loader to search for class files.
        Returns:
        true if the Java virtual machine supports the class path mechanism; false otherwise.
      • getBootClassPath

        String getBootClassPath()
        Returns the boot class path that is used by the bootstrap class loader to search for class files.

        Multiple paths in the boot class path are separated by the path separator character of the platform on which the Java virtual machine is running.

        A Java virtual machine implementation may not support the boot class path mechanism for the bootstrap class loader to search for class files. The isBootClassPathSupported() method can be used to determine if the Java virtual machine supports this method.

        Returns:
        the boot class path.
        Throws:
        UnsupportedOperationException - if the Java virtual machine does not support this operation.
        SecurityException - if a security manager exists and the caller does not have ManagementPermission("monitor").
      • getInputArguments

        List<String> getInputArguments()
        Returns the input arguments passed to the Java virtual machine which does not include the arguments to the main method. This method returns an empty list if there is no input argument to the Java virtual machine.

        Some Java virtual machine implementations may take input arguments from multiple different sources: for examples, arguments passed from the application that launches the Java virtual machine such as the 'java' command, environment variables, configuration files, etc.

        Typically, not all command-line options to the 'java' command are passed to the Java virtual machine. Thus, the returned input arguments may not include all command-line options.

        MBeanServer access:
        The mapped type of List is String[].

        Returns:
        a list of String objects; each element is an argument passed to the Java virtual machine.
        Throws:
        SecurityException - if a security manager exists and the caller does not have ManagementPermission("monitor").
      • getUptime

        long getUptime()
        Returns the uptime of the Java virtual machine in milliseconds.
        Returns:
        uptime of the Java virtual machine in milliseconds.
      • getStartTime

        long getStartTime()
        Returns the start time of the Java virtual machine in milliseconds. This method returns the approximate time when the Java virtual machine started.
        Returns:
        start time of the Java virtual machine in milliseconds.
      • getSystemProperties

        Map<String,String> getSystemProperties()
        Returns a map of names and values of all system properties. This method calls System.getProperties() to get all system properties. Properties whose name or value is not a String are omitted.

        MBeanServer access:
        The mapped type of Map is TabularData with two items in each row as follows:

        Item Name Item Type
        key String
        value String

        Eerste pagina van API Java Inhoudsopgave Haut

        Returns:
        a map of names and values of all system properties.
        Throws:
        SecurityException - if a security manager exists and its checkPropertiesAccess method doesn't allow access to the system properties.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-java/lang/management/runtimemxbean.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut