Don't forget to modify the variable name for MessageContext in the handle() method signature.
不要忘记在 handle() 方法签名中修改 MessageContext 的变量名称。
Remember to modify the variable SANStgPoolName to store the proper list of VM disks to be used.
一定要修改变量SANStgPoolName,以保存所使用的VM磁盘清单。
In a thread-safe program, only one writing thread can modify the variable; other threads can read the up-to-date value by declaring the variable volatile.
在一个线程安全的程序中,只有一个写线程能够修改这个变量;而其他的线程则可以读取volatile声明变量的最新值。
应用推荐