2. When an officer acts in both a judicial and ministerial capacity, he may be compelled to perform ministerial acts in a particular way; but when he acts in a judicial capacity, he can only be required to proceed; the manner of doing so is left entirely to his judgment. See 2 Fairf. 377; Bac. Ab. Justices of the Peace, E; 1 Conn. 295; 3 Conn. 107; 9 Conn. 275; 12 Conn. 464; also Judicial; Mandamus; Sheriff.