On the design of a finite-capacity queue with phase-type service times and hysteretic control · Study