Interface MediaObjectLockerAdminMXBean


  • public interface MediaObjectLockerAdminMXBean
    Since:
    5.8
    Author:
    Michiel Meeuwissen
    • Method Detail

      • getLockCount

        @Description("The total number of acquired locks. So this grows continuously.")
        int getLockCount()
      • getLockCounts

        @Description("The total number of acquired locks per \'reason\'. So this grows continuously.")
        Map<String,​Integer> getLockCounts()
      • getCurrentCount

        @Description("The current number of locks. Should be a low number, most of the time zero.")
        int getCurrentCount()
      • getCurrentCounts

        @Description("The total number of acquired locks per reason. So this grows continuously.")
        Map<String,​Integer> getCurrentCounts()
      • getMaxConcurrency

        @Description("The maximum concurrency level reached since the start of the application. I.e. the number of threads trying to acces the same lock simultaneously")
        int getMaxConcurrency()
      • getMaxDepth

        @Description("The maximum depth reach. I.e. the maximum number of \'nested\' code locking the same mid.")
        int getMaxDepth()
      • clearMidLocks

        String clearMidLocks​(boolean interrupt)
      • getMaxLockAcquireTime

        @Description("If locks are monitoring, this the time a process needs to wait for a lock at most")
        String getMaxLockAcquireTime()
      • setMaxLockAcquireTime

        void setMaxLockAcquireTime​(String duration)
      • isMonitor

        @Description("Whether locks are monitored currently. If they are, processes waiting for a lock for too long, are continuing without one.")
        boolean isMonitor()
      • setMonitor

        void setMonitor​(boolean monitor)