com.sun.ejb
Class MethodLockInfo

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

public class MethodLockInfo
extends java.lang.Object

MethodLockInfo caches various attributes of lock attributes

Author:
Mahesh Kannan

Constructor Summary
MethodLockInfo()
           
 
Method Summary
 long getTimeout()
           
 java.util.concurrent.TimeUnit getTimeUnit()
           
 boolean hasTimeout()
           
 boolean isReadLockedMethod()
           
 boolean isWriteLockedMethod()
           
 void setLockType(LockType type)
           
 void setTimeout(long value, java.util.concurrent.TimeUnit unit)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodLockInfo

public MethodLockInfo()
Method Detail

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.