|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.store.raw.data.RemoveFile
| Field Summary | |
private StorageFile |
fileToGo
|
| Fields inherited from interface org.apache.derby.iapi.services.daemon.Serviceable |
DONE, REQUEUE |
| Constructor Summary | |
(package private) |
RemoveFile(StorageFile fileToGo)
|
| Method Summary | |
int |
performWork(ContextManager context)
Do whatever it is that you want the daemon to do for you. |
boolean |
serviceASAP()
If this work should be done as soon as possible, then return true. |
boolean |
serviceImmediately()
If this work should be done immediately on the user thread then return true. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final StorageFile fileToGo
| Constructor Detail |
RemoveFile(StorageFile fileToGo)
| Method Detail |
public int performWork(ContextManager context)
throws StandardException
Serviceable
performWork in interface Serviceablecontext - the contextManager set up by the DaemonService. There
may or may not be the necessary context on it, depending on which other
Serviceable object it has done work for.
StandardException - Standard cloudscape exception policy
MT - depends on the work. Be wary of multiple DaemonService thread calling at the same time if you subscribe or enqueue multiple times.
public boolean serviceASAP()
ServiceableMT - MT safe
serviceASAP in interface Serviceablepublic boolean serviceImmediately()
Serviceable
serviceImmediately in interface Serviceable
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||