public class MethodLockInfo extends Object
Constructor and Description |
---|
MethodLockInfo() |
Modifier and Type | Method and Description |
---|---|
long |
getTimeout() |
TimeUnit |
getTimeUnit() |
boolean |
hasTimeout() |
boolean |
isDistributed() |
boolean |
isReadLockedMethod() |
boolean |
isWriteLockedMethod() |
void |
setLockType(javax.ejb.LockType type,
boolean distributed) |
void |
setTimeout(long value,
TimeUnit unit) |
String |
toString() |
public void setLockType(javax.ejb.LockType type, boolean distributed)
public void setTimeout(long value, TimeUnit unit)
public boolean isReadLockedMethod()
public boolean isWriteLockedMethod()
public boolean hasTimeout()
public long getTimeout()
public TimeUnit getTimeUnit()
public boolean isDistributed()
Copyright © 2021. All rights reserved.