Package org.apache.flink.runtime.rest
Interface RestService
- All Superinterfaces:
AutoCloseable,org.apache.flink.util.AutoCloseableAsync
- All Known Implementing Classes:
DispatcherRestEndpoint,MiniDispatcherRestEndpoint,RestServerEndpoint,WebMonitorEndpoint
public interface RestService
extends org.apache.flink.util.AutoCloseableAsync
Rest service interface.
-
Method Summary
Methods inherited from interface org.apache.flink.util.AutoCloseableAsync
close, closeAsync
-
Method Details
-
getRestPort
int getRestPort()Port of the running rest service.- Returns:
- port of the rest service if running; otherwise -1
-