com.twitter.common.zookeeper
Interface SingletonService.LeadershipListener

Enclosing class:
SingletonService

public static interface SingletonService.LeadershipListener


Method Summary
 void onDefeated(ServerSet.EndpointStatus status)
           
 void onLeading(ServerSet.EndpointStatus status)
           
 

Method Detail

onLeading

void onLeading(ServerSet.EndpointStatus status)

onDefeated

void onDefeated(@Nullable
                ServerSet.EndpointStatus status)