org.apache.flink.runtime.leaderelection.StandaloneLeaderElectionService Java Examples

The following examples show how to use org.apache.flink.runtime.leaderelection.StandaloneLeaderElectionService. 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: StandaloneHaServices.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getResourceManagerLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #2
Source File: StandaloneHaServices.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getDispatcherLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #3
Source File: StandaloneHaServices.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getJobManagerLeaderElectionService(JobID jobID) {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #4
Source File: StandaloneHaServices.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getWebMonitorLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #5
Source File: StandaloneHaServices.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getResourceManagerLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #6
Source File: StandaloneHaServices.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getDispatcherLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #7
Source File: StandaloneHaServices.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getJobManagerLeaderElectionService(JobID jobID) {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #8
Source File: StandaloneHaServices.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getWebMonitorLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #9
Source File: StandaloneHaServices.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getResourceManagerLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #10
Source File: StandaloneHaServices.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getDispatcherLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #11
Source File: StandaloneHaServices.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getJobManagerLeaderElectionService(JobID jobID) {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}
 
Example #12
Source File: StandaloneHaServices.java    From flink with Apache License 2.0 5 votes vote down vote up
@Override
public LeaderElectionService getClusterRestEndpointLeaderElectionService() {
	synchronized (lock) {
		checkNotShutdown();

		return new StandaloneLeaderElectionService();
	}
}