com.sun.ejb
Class MethodLockInfo
java.lang.Object
com.sun.ejb.MethodLockInfo
public class MethodLockInfo
- extends java.lang.Object
MethodLockInfo caches various attributes of lock attributes
- Author:
- Mahesh Kannan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodLockInfo
public MethodLockInfo()
setLockType
public void setLockType(LockType type)
setTimeout
public void setTimeout(long value,
java.util.concurrent.TimeUnit unit)
isReadLockedMethod
public boolean isReadLockedMethod()
isWriteLockedMethod
public boolean isWriteLockedMethod()
hasTimeout
public boolean hasTimeout()
getTimeout
public long getTimeout()
getTimeUnit
public java.util.concurrent.TimeUnit getTimeUnit()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2012 GlassFish Community. All Rights Reserved.