ilog.rules.monitor.model

Interface IlrClassDescriptionSet

  • All Superinterfaces:
    java.lang.Iterable<IlrClassDescription>


    public interface IlrClassDescriptionSet
    extends java.lang.Iterable<IlrClassDescription>
    Interface to get all the classes which have thread contention. Instance of this type are instance of the model of thread contention.
    Since:
    JRules 7.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      IlrClassDescription getClassDescription(java.lang.String name)
      Gets a particular class that has thread contention by its name.
      java.util.Iterator<IlrClassDescription> getClassDescriptionsOfPackage(java.lang.String name)
      Returns all the class description of class that has contention point and that is in the given package.
      java.util.Iterator<java.lang.String> getClassNames()
      Gets all the fully qualified name of the classes that have thread contention.
      java.util.Date getFirstSnapshot()
      Gets the first time the monitoring has begun.
      java.util.Date getLastSnapshot()
      Gets the latest time a monitoring was done.
      int getMaxStacktraceDepth()
      Returns the maximum stacktrace depth that could contains the model.
      int getNumberOfSnapshots()
      Returns the number of snapshot made to build this model.
      int getSnapshotNumber(long value)
      If the first snapshot is snapshot 0 and the last is getNumberOfSnapshots() -1, this method returns the indice of the execution snapshot.
      long getTotalStartedThreadCount()
      Returns the total number of threads created and also started since the Java virtual machine started.
      java.util.Iterator<IlrClassDescription> iterator()
      Gets all the classes that have thread contention.
      int size()
      Returns the number of class description in this set.
    • Method Detail

      • getLastSnapshot

        java.util.Date getLastSnapshot()
        Gets the latest time a monitoring was done.
        Returns:
        the Date of the latest snapshot.
      • getFirstSnapshot

        java.util.Date getFirstSnapshot()
        Gets the first time the monitoring has begun.
        Returns:
        the Date of the first snapshot.
      • getTotalStartedThreadCount

        long getTotalStartedThreadCount()
        Returns the total number of threads created and also started since the Java virtual machine started.
        Returns:
        the total number of threads started.
      • getMaxStacktraceDepth

        int getMaxStacktraceDepth()
        Returns the maximum stacktrace depth that could contains the model.
        Returns:
        an int representing the maximum depth of a stacktrace.
      • getNumberOfSnapshots

        int getNumberOfSnapshots()
        Returns the number of snapshot made to build this model.
        Returns:
        an int representing the number of snapshot.
      • getSnapshotNumber

        int getSnapshotNumber(long value)
        If the first snapshot is snapshot 0 and the last is getNumberOfSnapshots() -1, this method returns the indice of the execution snapshot.
        Parameters:
        value - value of the snapshot.
        Returns:
        the indice of the snapshot or a negative int if it is not a known snapshot.
        See Also:
        IlrExecutionPoint.getDate()
      • getClassDescription

        IlrClassDescription getClassDescription(java.lang.String name)
        Gets a particular class that has thread contention by its name.
        Parameters:
        name - the fully qualified name of the class.
        Returns:
        an instance of IlrClassDescription
      • getClassNames

        java.util.Iterator<java.lang.String> getClassNames()
        Gets all the fully qualified name of the classes that have thread contention.
        Returns:
        an iterator of String
      • size

        int size()
        Returns the number of class description in this set.
        Returns:
        the number of class description in this set.
      • getClassDescriptionsOfPackage

        java.util.Iterator<IlrClassDescription> getClassDescriptionsOfPackage(java.lang.String name)
        Returns all the class description of class that has contention point and that is in the given package.
        Parameters:
        name - fully qualified name of a package.
        Returns:
        an iterator of IlrClassDescription

© Copyright IBM Corp. 1987, 2017