Package com.sun.ejb

Class MethodLockInfo

java.lang.Object
com.sun.ejb.MethodLockInfo

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

    • MethodLockInfo

      public MethodLockInfo()
  • Method Details

    • setLockType

      public void setLockType(jakarta.ejb.LockType type)
    • 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()
    • toString

      public String toString()
      Overrides:
      toString in class Object