Documentation of 'org.neodatis.tool.mutex.Mutex' Java class
Mutex
org.neodatis.tool.mutex

Class Mutex



  • public class Mutex
    extends java.lang.Object
    A Simple Mutex for lock operations
    • Method Detail

      • acquire

        public Mutex acquire(java.lang.String who)
                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • release

        public void release(java.lang.String who)
      • attempt

        public boolean attempt(long msecs)
                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getName

        public java.lang.String getName()
      • setDebug

        public void setDebug(boolean debug)
      • isInUse

        public boolean isInUse()
      • getNbOwners

        public int getNbOwners()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.