public class ResourceState extends Object
| Constructor and Description |
|---|
ResourceState() |
| Modifier and Type | Method and Description |
|---|---|
long |
getTimestamp() |
boolean |
isBusy() |
boolean |
isEnlisted() |
boolean |
isFree() |
boolean |
isUnenlisted() |
void |
setBusy(boolean busy) |
void |
setEnlisted(boolean enlisted) |
String |
toString() |
void |
touchTimestamp() |
public boolean isEnlisted()
public boolean isUnenlisted()
public boolean isFree()
public void setEnlisted(boolean enlisted)
public boolean isBusy()
public void setBusy(boolean busy)
public long getTimestamp()
public void touchTimestamp()
Copyright © 2017. All rights reserved.