String function ( String arg0 ) { LeaderInterface loc0 = getLeaderInterface ( arg0 ) ; System . out . println ( "srini_string" + arg0 ) ; return loc0 . getClusterLeader ( ) ; }
this is used to get the leader address from a remote machine without running a leader election . concode_field_sep PlaceHolder placeHolder concode_field_sep void registerListenerWithLeader concode_elem_sep void forwardReceivedUidMessage concode_elem_sep void sendPing concode_elem_sep void sendUidMessage concode_elem_sep void sendPulse concode_elem_sep LeaderInterface getLeaderInterface concode_elem_sep void sendRequestNotAccepted concode_elem_sep void main concode_elem_sep void unregisterListenerWithLeader concode_elem_sep void sendLeaderElectedMessage concode_elem_sep void forwardLeaderElectedMessage