flink-instrumentation/workspace/flink-1.4.1-instrumented/flink-1.4.1/flink-runtime/src/main/java/org/apache/flink/runtime/util/LeaderRetrievalUtils.java
/**
	 * Retrieves the current leader session id of the component identified by the given leader
	 * retrieval service.
	 *
	 * @param leaderRetrievalService Leader retrieval service to be used for the leader retrieval
	 * @param timeout Timeout for the leader retrieval
	 * @return The leader session id of the retrieved leader
	 * @throws LeaderRetrievalException if the leader retrieval operation fails (including a timeout)
	 */
Retrieves the current leader session id of the component identified by the given leader
retrieval service.

@param leaderRetrievalService Leader retrieval service to be used for the leader retrieval
@param timeout Timeout for the leader retrieval
@return The leader session id of the retrieved leader
@throws LeaderRetrievalException if the leader retrieval operation fails (including a timeout)
Retrieves the current leader session id of the component identified by the given leader retrieval service . @param leaderRetrievalService Leader retrieval service to be used for the leader retrieval @param timeout Timeout for the leader retrieval @return The leader session id of the retrieved leader @throws LeaderRetrievalException if the leader retrieval operation fails ( including a timeout )
public static UUID retrieveLeaderSessionId(
			LeaderRetrievalService leaderRetrievalService,
			FiniteDuration timeout) throws LeaderRetrievalException {
		return retrieveLeaderConnectionInfo(leaderRetrievalService, timeout).getLeaderSessionID();
	}
public static UUID retrieveLeaderSessionId ( LeaderRetrievalService leaderRetrievalService , FiniteDuration timeout ) throws LeaderRetrievalException { return retrieveLeaderConnectionInfo ( leaderRetrievalService , timeout ) . getLeaderSessionID ( ) ; }
Retrieves the current leader session id of the component identified by the given leader
 retrieval service.
Retrieves the current leader session id of the component identified by the given leader retrieval service .