Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 App42 自定义代码功能,我想知道对象是如何实例化的,即是否有我的类的单个实例实现Executer并且为每个请求调用该函数execute,或者为每个请求实例化一个新实例。
Executer
execute
当请求到达服务器时,会为该请求创建新实例,并在其上调用执行方法。此外,Executor 类在处理您的请求后会被卸载。