public class CmsAsyncJoinHandler
extends java.lang.Object
To use this, first, for every action, add a token which uniquely identifies the action. Remove the corresponding token when the action is finished. When all tokens are removed, the final action will be executed.
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.util.Set<java.lang.Object> |
m_tokens
The set of tokens.
|
| 构造器和说明 |
|---|
CmsAsyncJoinHandler(java.lang.Runnable joinAction)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addTokens(java.lang.Object... tokens)
Adds tokens.
|
void |
removeToken(java.lang.Object token)
Removes a token.
|