Interface RoleChangeHandler
-
- All Known Implementing Classes:
JoinElectionDomain
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface RoleChangeHandlerDefines the callbacks invoked by aDomainManagerwhen a registrant changes roles.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleRoleChange(Role role, java.lang.String domain)Handle role changing.
-
-
-
Method Detail
-
handleRoleChange
void handleRoleChange(Role role, java.lang.String domain)
Handle role changing. Implementations of this method must not block.- Parameters:
role- the new roledomain- the domain the role is being changed for
-
-