Class VeniceParentControllerRegionStateHandler

  • All Implemented Interfaces:
    spark.Route

    public class VeniceParentControllerRegionStateHandler
    extends java.lang.Object
    implements spark.Route
    Handler for checking the state of the region of the parent controller to handle requests in its region.
    • Field Detail

      • ACTIVE_CHECK_FAILURE_WARN_MESSAGE_PREFIX

        public static final java.lang.String ACTIVE_CHECK_FAILURE_WARN_MESSAGE_PREFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • VeniceParentControllerRegionStateHandler

        public VeniceParentControllerRegionStateHandler​(Admin admin,
                                                        spark.Route route)
    • Method Detail

      • handle

        public java.lang.Object handle​(spark.Request request,
                                       spark.Response response)
                                throws java.lang.Exception
        Specified by:
        handle in interface spark.Route
        Throws:
        java.lang.Exception