我的问题很简单,如何使用 Weblogic WorkManager 执行 java 中的方法? 我不想使用任何 Thread 实现方法。
示例:
public class CallerClass {
public void callerMethod() {
// Execution
// Launch method in new thread
obj.asyncMethod();
// Continue before finishing ayncMethod
return;
}
public void asyncMethod() {
// Asynchronous method
}
}
最佳答案
看看这是否有帮助,我发现它很有用。 using-the-weblogic-work-manager-to-delegate-long-running-tasks
关于java - 使用 WokManager 异步执行方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46893378/