public class JoinElectionDomain extends Object implements org.apache.karaf.shell.api.action.Action, RoleChangeHandler
Constructor and Description |
---|
JoinElectionDomain() |
Modifier and Type | Method and Description |
---|---|
Object |
execute() |
void |
handleRoleChange(Role role,
String domain)
Handle role changing.
|
public Object execute()
execute
in interface org.apache.karaf.shell.api.action.Action
public void handleRoleChange(Role role, String domain)
RoleChangeHandler
handleRoleChange
in interface RoleChangeHandler
role
- the new roledomain
- the domain the role is being changed forCopyright © 2021. All rights reserved.