def METHOD_NAME(cls, name: Optional[EngineLiteral] = None) -> None:
    """Register the distribution engine dispatch methods."""
    with cls._lock:
        engine_name = cast(EngineLiteral, name or cls.get().value)
        cls.set(engine_name)
        cls._registry.clear()
        if engine_name == EngineEnum.RAY.value:
            from awswrangler.distributed.ray._register import register_ray
            register_ray()