Package com.sun.ejb

Class MethodLockInfo


  • public class MethodLockInfo
    extends Object
    MethodLockInfo caches various attributes of lock attributes
    Author:
    Mahesh Kannan
    • Constructor Detail

      • MethodLockInfo

        public MethodLockInfo()
    • Method Detail

      • setLockType

        public void setLockType​(jakarta.ejb.LockType type,
                                boolean distributed)
      • setTimeout

        public void setTimeout​(long value,
                               TimeUnit unit)
      • isReadLockedMethod

        public boolean isReadLockedMethod()
      • isWriteLockedMethod

        public boolean isWriteLockedMethod()
      • hasTimeout

        public boolean hasTimeout()
      • getTimeout

        public long getTimeout()
      • getTimeUnit

        public TimeUnit getTimeUnit()
      • isDistributed

        public boolean isDistributed()