Class RQThreadReport.Builder

    • Method Detail

      • jvmIdentifier

        public RQThreadReport.Builder jvmIdentifier​(java.lang.String jvmId)
        Sets JVM identifier to given value. This value should uniquely identify the JVM reporting the run queue thread information. May not be null or an empty string.
        Parameters:
        jvmId - JVM identifier.
        Returns:
        this Builder instance.
        Throws:
        java.lang.IllegalArgumentException - if jvmId is either null or an empty string.
      • runQueueThreads

        public RQThreadReport.Builder runQueueThreads​(RQThreadInfo[] rqThreads)
        Sets run queue thread information array to given value.
        Parameters:
        rqThreads - run queue thread information.
        Returns:
        this Builder instance.
        Throws:
        java.lang.NullPointerException - if rqThreads is null.
        java.lang.IllegalArgumentException - if rqThreads is an empty array.