Java Code Examples for org.apache.flink.runtime.highavailability.HighAvailabilityServices#DEFAULT_LEADER_ID

The following examples show how to use org.apache.flink.runtime.highavailability.HighAvailabilityServices#DEFAULT_LEADER_ID . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RpcGatewayRetrieverTest.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Override
public UUID getFencingToken() {
	return HighAvailabilityServices.DEFAULT_LEADER_ID;
}
 
Example 2
Source File: RpcGatewayRetrieverTest.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public UUID getFencingToken() {
	return HighAvailabilityServices.DEFAULT_LEADER_ID;
}
 
Example 3
Source File: RpcGatewayRetrieverTest.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
public UUID getFencingToken() {
	return HighAvailabilityServices.DEFAULT_LEADER_ID;
}
 
Example 4
Source File: StandaloneLeaderRetrievalService.java    From Flink-CEPplus with Apache License 2.0 2 votes vote down vote up
/**
 * Creates a StandaloneLeaderRetrievalService with the given leader address.
 * The leaderId will be null.
 *
 * @param leaderAddress The leader's pre-configured address
 * @deprecated Use {@link #StandaloneLeaderRetrievalService(String, UUID)} instead
 */
@Deprecated
public StandaloneLeaderRetrievalService(String leaderAddress) {
	this.leaderAddress = checkNotNull(leaderAddress);
	this.leaderId = HighAvailabilityServices.DEFAULT_LEADER_ID;
}
 
Example 5
Source File: StandaloneLeaderRetrievalService.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Creates a StandaloneLeaderRetrievalService with the given leader address.
 * The leaderId will be null.
 *
 * @param leaderAddress The leader's pre-configured address
 * @deprecated Use {@link #StandaloneLeaderRetrievalService(String, UUID)} instead
 */
@Deprecated
public StandaloneLeaderRetrievalService(String leaderAddress) {
	this.leaderAddress = checkNotNull(leaderAddress);
	this.leaderId = HighAvailabilityServices.DEFAULT_LEADER_ID;
}
 
Example 6
Source File: StandaloneLeaderRetrievalService.java    From flink with Apache License 2.0 2 votes vote down vote up
/**
 * Creates a StandaloneLeaderRetrievalService with the given leader address.
 * The leaderId will be null.
 *
 * @param leaderAddress The leader's pre-configured address
 * @deprecated Use {@link #StandaloneLeaderRetrievalService(String, UUID)} instead
 */
@Deprecated
public StandaloneLeaderRetrievalService(String leaderAddress) {
	this.leaderAddress = checkNotNull(leaderAddress);
	this.leaderId = HighAvailabilityServices.DEFAULT_LEADER_ID;
}