lucee.Componentcoldbox.system.async.proxies.BaseProxy
coldbox.system.async.proxies.Runnable
Functional Interface that maps to java.lang.Runnable See https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html
Constructor Summary | |
---|---|
init(any target, [any method='run'], [boolean debug='false'], [boolean loadAppContext='true'])
Constructor. |
Method Summary | |
---|---|
any
|
run()
|
Methods inherited from class coldbox.system.async.proxies.BaseProxy |
---|
err, getCFMLContext, getConcurrentEngineLockName, getCurrentThread, getDebug, getLoadAppContext, getSystem, getTarget, getThread, getThreadName, loadContext, out, setDebug, setLoadAppContext, setSystem, setTarget, setThread, unLoadContext |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
target
- The lambda or closure that will be the taskmethod
- An optional method in case the supplier is a CFC instead of a closuredebug
- Add debugging or notloadAppContext
- By default, we load the Application context into the running thread. If you don't need it, then don't load it.Method Detail |
---|