java.lang.management

Class LockInfo

    • Constructor Detail

      • LockInfo

        @ConstructorProperties(value={"className","identityHashCode"})
        public LockInfo(String className,
                                           int identityHashCode)
        Constructs a LockInfo object.
        Parameters:
        className - the fully qualified name of the class of the lock object.
        identityHashCode - the identity hash code of the lock object.
    • Method Detail

      • getClassName

        public String getClassName()
        Returns the fully qualified name of the class of the lock object.
        Returns:
        the fully qualified name of the class of the lock object.
      • getIdentityHashCode

        public int getIdentityHashCode()
        Returns the identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.
        Returns:
        the identity hash code of the lock object.
      • toString

        public String toString()
        Returns a string representation of a lock. The returned string representation consists of the name of the class of the lock object, the at-sign character `@', and the unsigned hexadecimal representation of the identity hash code of the object. This method returns a string equals to the value of:
         lock.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(lock))
         
        where lock is the lock object.
        Overrides:
        toString in class Object
        Returns:
        the string representation of a lock.

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 11/06/2005, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-java/lang/management/LockInfo.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut