Package com.linkedin.venice.controller
Class ControllerInstanceTagRefresher
java.lang.Object
com.linkedin.venice.controller.ControllerInstanceTagRefresher
- All Implemented Interfaces:
org.apache.helix.PreConnectCallback
public class ControllerInstanceTagRefresher
extends Object
implements org.apache.helix.PreConnectCallback
PreConnectCallback is called after the participant registers its info in the cluster but before marking itself as
LIVEINSTANCE. If the instance is already a participant of the cluster, then we need this logic to update Instance tags
in the case of K8S assigning this controller participant to another cluster
-
Constructor Summary
ConstructorsConstructorDescriptionControllerInstanceTagRefresher
(SafeHelixManager helixManager, List<String> instanceTagList) -
Method Summary
-
Constructor Details
-
ControllerInstanceTagRefresher
-
-
Method Details
-
onPreConnect
public void onPreConnect()- Specified by:
onPreConnect
in interfaceorg.apache.helix.PreConnectCallback
-