public class T_Serviceable
extends java.lang.Object
implements org.apache.derby.iapi.services.daemon.Serviceable
| Modifier and Type | Field and Description |
|---|---|
protected int |
clientNumber |
protected boolean |
onDemandOnly |
protected boolean |
subscribed |
protected int |
timesRequeue |
protected int |
timesServiced |
| Constructor and Description |
|---|
T_Serviceable(boolean onDemandOnly) |
T_Serviceable(int t) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getClientNumber() |
int |
performWork(org.apache.derby.iapi.services.context.ContextManager context) |
boolean |
serviceASAP() |
boolean |
serviceImmediately() |
protected void |
setClientNumber(int n) |
protected void |
t_check(int n) |
protected void |
t_wait(int n) |
protected int timesServiced
protected final int timesRequeue
protected final boolean onDemandOnly
protected final boolean subscribed
protected int clientNumber
public T_Serviceable(int t)
public T_Serviceable(boolean onDemandOnly)
protected void setClientNumber(int n)
protected int getClientNumber()
public int performWork(org.apache.derby.iapi.services.context.ContextManager context)
performWork in interface org.apache.derby.iapi.services.daemon.Serviceablepublic boolean serviceASAP()
serviceASAP in interface org.apache.derby.iapi.services.daemon.Serviceablepublic boolean serviceImmediately()
serviceImmediately in interface org.apache.derby.iapi.services.daemon.Serviceableprotected void t_wait(int n)
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.