joinGroup method
(en) Joins the given group for coordinated batch processing.
When this state belongs to a group, calling batch on any member
will batch all states in the group together.
(ja) 指定されたgroupに参加し、バッチ処理を連動させます。
グループに属している場合、いずれかのメンバーでbatchを呼ぶと
グループ全体がまとめてバッチ処理されます。
Implementation
void joinGroup(AppStateGroup group) {
group.add(this);
}