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 Summary
Constructors Constructor Description MethodLockInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTimeout()
TimeUnit
getTimeUnit()
boolean
hasTimeout()
boolean
isDistributed()
boolean
isReadLockedMethod()
boolean
isWriteLockedMethod()
void
setLockType(jakarta.ejb.LockType type, boolean distributed)
void
setTimeout(long value, TimeUnit unit)
String
toString()
-
-
-
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()
-
-