public final class Lock
extends java.lang.Object
implements java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
Lock()
Creates new instance.
|
|
Lock(java.lang.String lockName,
java.lang.String message,
boolean locked,
java.util.Date timestamp)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLockName()
Returns the name of the lock.
|
java.lang.String |
getMessage()
Returns the lock message.
|
java.util.Date |
getTimestamp()
Returns the lock timestamp.
|
boolean |
isLocked()
Returns true if locked.
|
protected Lock()
public Lock(java.lang.String lockName,
java.lang.String message,
boolean locked,
java.util.Date timestamp)
lockName - message - locked - timestamp - java.lang.NullPointerException - if lockName or timestamp is nullpublic java.lang.String getLockName()
public java.lang.String getMessage()
public boolean isLocked()
public java.util.Date getTimestamp()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.