public interface RegistrantListener<T>
Modifier and Type | Method and Description |
---|---|
void |
onMasterRegistrationFailure(T registrant)
The registrant has failed to register with the master.
|
void |
onMasterRegistrationSuccess(T registrant)
The registrant has been registered with the master.
|
void |
onMasterUnregistrationFailure(T registrant)
The registrant has failed to unregister with the master.
|
void |
onMasterUnregistrationSuccess(T registrant)
The registrant has been unregistered with the master.
|
void onMasterRegistrationSuccess(T registrant)
registrant
- the registrant which has been registeredvoid onMasterRegistrationFailure(T registrant)
This may be called multiple times per registrant since master registration will be retried until success.
registrant
- the registrant which has been registeredvoid onMasterUnregistrationSuccess(T registrant)
registrant
- the registrant which has been unregisteredvoid onMasterUnregistrationFailure(T registrant)
This may be called multiple times per registrant since master unregistration will be retried until success.
registrant
- the registrant which has been unregistered