| Method from org.apache.tomcat.util.threads.ThreadWithAttributes Detail: |
public final Hashtable getAttributes(Object control) {
return attributes;
}
Generic attributes. You'll need a hashtable lookup -
you can use notes for array access. |
public final String getCurrentStage(Object control) {
if( this.control != control ) return null;
return currentStage;
}
Information about the curent performed operation |
public final Object getNote(Object control,
int id) {
if( this.control != control ) return null;
return notes[id];
}
|
public final Object getParam(Object control) {
if( this.control != control ) return null;
return param;
}
Information about the current request ( or the main object
we are processing ) |
public final Object[] getThreadData(Object control) {
return thData;
}
|
public final void setCurrentStage(Object control,
String currentStage) {
if( this.control != control ) return;
this.currentStage = currentStage;
}
|
public final void setNote(Object control,
int id,
Object value) {
if( this.control != control ) return;
notes[id]=value;
}
Notes - for attributes that need fast access ( array )
The application is responsible for id management |
public final void setParam(Object control,
Object param) {
if( this.control != control ) return;
this.param=param;
}
|
public final void setThreadData(Object control,
Object[] thData) {
this.thData=thData;
}
|