Interface MetadataSupervisorManager

    • Method Detail

      • start

        void start()
      • getLatest

        Map<String,​SupervisorSpec> getLatest()
        Return latest supervisors (both active and terminated)
        Returns:
        latest terminated supervisors
      • getLatestActiveOnly

        Map<String,​SupervisorSpec> getLatestActiveOnly()
        Only return the latest active supervisors
        Returns:
        latest active supervisors
      • getLatestTerminatedOnly

        Map<String,​SupervisorSpec> getLatestTerminatedOnly()
        Only return the latest terminated supervisors
        Returns:
        latest terminated supervisors
      • removeTerminatedSupervisorsOlderThan

        int removeTerminatedSupervisorsOlderThan​(long timestamp)
        Remove terminated supervisors created before the given timestamp.
        Parameters:
        timestamp - timestamp in milliseconds
        Returns:
        number of supervisor removed