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

    Modifier and Type
    Method
    Description
    int
    Port of the running rest service.

    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