“…In past two decades, great progresses have been achieved in such cavity-atomic ensemble system. Various nonlinear optics effects have been studied experimentally or theoretically, including the intracavity electromagnetically induced transparency (EIT) [17,18], multiple laser thresholds [19], the photon blockade effect [20], strong and super-strong coupling [21], four-wave mixing [22], bistability [23,24] and multi-stability [23,25], as well as all-optical switching [23,[26][27][28][29]. However, in all previous experimental realizations of the all-optical switching, at most one cavity resonance for the signal light is used, while the control light is applied through free-space laser beam [17,24,27,28].…”