public class LockEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPIRES_AT_FIELD |
static String |
KEY_FIELD |
static String |
OWNER_FIELD |
static String |
STATUS_FIELD |
| Constructor and Description |
|---|
LockEntry(String key,
String status,
String owner,
Date expiresAt) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getExpiresAt() |
String |
getKey() |
String |
getOwner() |
String |
getStatus() |
boolean |
isOwner(String owner) |
String |
toString() |
public static final String KEY_FIELD
public static final String STATUS_FIELD
public static final String OWNER_FIELD
public static final String EXPIRES_AT_FIELD
public String getKey()
public String getStatus()
public String getOwner()
public boolean isOwner(String owner)
owner - the owner to be checkedCopyright © 2022. All rights reserved.