org.apache.commons.performance.pool
Class Waiter
java.lang.Object
org.apache.commons.performance.pool.Waiter
public class Waiter
- extends Object
Object created by WaiterFactory. Maintains active / valid state.
Constructor Summary |
Waiter(boolean active,
boolean valid,
long latency)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Waiter
public Waiter(boolean active,
boolean valid,
long latency)
doWait
public void doWait()
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
getLatency
public long getLatency()
setLatency
public void setLatency(long latency)
isValid
public boolean isValid()
setValid
public void setValid(boolean valid)
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.