public class Lock extends Object implements Serializable
Constructor and Description |
---|
Lock(String owner,
String path,
String token,
String comment,
long creationDate,
long expirationDate)
this constructor should only called from JNI code
|
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
Date |
getCreationDate() |
Date |
getExpirationDate() |
String |
getOwner() |
String |
getPath() |
String |
getToken() |
public Lock(String owner, String path, String token, String comment, long creationDate, long expirationDate)
owner
- the owner of the lockpath
- the path of the locked itemtoken
- the lock tokencomment
- the lock commentcreationDate
- the date when the lock was createdexpirationDate
- the date when the lock will expirepublic String getOwner()
public String getPath()
public String getToken()
public String getComment()
public Date getCreationDate()
public Date getExpirationDate()
Copyright © 2023. All rights reserved.