public class ResourceState extends Object
Modifier and Type | Class and Description |
---|---|
class |
ResourceState.TwiceBusyException |
Constructor and Description |
---|
ResourceState() |
Modifier and Type | Method and Description |
---|---|
ResourceState.TwiceBusyException |
getBusyStackException()
Gets an exception with a stack trace of when the resource was previously
set to not busy.
|
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 ResourceState.TwiceBusyException getBusyStackException()
ConnectionPool.resourceClosed(com.sun.enterprise.resource.ResourceHandle)
public long getTimestamp()
public void touchTimestamp()
Copyright © 2019. All rights reserved.