Each sheriff shall be the keeper of the public jail of his parish, and shall by all lawful means preserve the peace and apprehend all disturbers thereof, and other public offenders.