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.
GridCompute.apply()允许通过一个arg或Collection<> args但我看不到如何在里面访问它/它们GridClosure?
GridCompute.apply()
arg
Collection<> args
GridClosure
GridGain 将创建与参数一样多的闭包,并将单个参数传递给GridClosure.apply(arg)方法。
GridClosure.apply(arg)
因此,如果您传递 10 个参数的 Collection<>,GridGain 将创建 10 个闭包,每个参数一个,并将在网格中均匀地负载平衡它们。