com.ibm.java.diagnostics.healthcenter.api.locking

Interface LockingEvent

  • All Superinterfaces:
    BaseEvent


    public interface LockingEvent
    extends BaseEvent
    This class defines the values returned when a locking event takes place and is used by the LockingEventListener interface
    • Method Detail

      • getLockName

        java.lang.String getLockName()
        Returns:
        the name of the monitor
      • getPercentMiss

        int getPercentMiss()
        Returns:
        the percentage of acquire thats blocked
      • getTotalGets

        int getTotalGets()
        Returns:
        total number of times the monitor was requested
      • getSlowAcquire

        int getSlowAcquire()
        Returns:
        total number of times the monitor was blocked
      • getRecursiveAcquires

        int getRecursiveAcquires()
        Returns:
        total number of recursive acquires
      • getTier2Spins

        int getTier2Spins()
        Returns:
        number of times tier2 spinning took place
      • getTier3Spins

        int getTier3Spins()
        Returns:
        number of times tier3 spinning took place
      • getPercentUtilisation

        int getPercentUtilisation()
        Returns:
        percentage of how much the monitor was utilised whilst held
      • getAverageHoldTime

        long getAverageHoldTime()
        Returns:
        the average hold time
      • isJavaMonitor

        boolean isJavaMonitor()
        Returns:
        true if java monitor, false if system monitor
© Copyright 2012, 2016 IBM Corporation.