NEW YORK, N.Y. - The New York Mets have acquired lefty Eric O'Flaherty and cash considerations from the Oakland Athletics for a player to be named. To make room on the 25-man roster, the Mets designated lefty Alex Torres for assignment.

O'Flaherty, 30, was designated for assignment by the A's on Aug. 1. The Walla Walla, Washington native was 1-2 with a 5.91 ERA in 25 games for Oakland this season. He was on the disabled list from May 2-June 2 with a left shoulder strain.

From 2011 to 2015, he has a 2.03 ERA, the fourth-lowest mark in the major league with a minimum of 160 innings.

He had a 1.99 ERA from 2009-2013 while pitching for Atlanta. He is 22-11 with a 2.99 ERA in 419 major league games with Seattle, Atlanta and Oakland during his 10-year major league career.

O'Flaherty has held lefthanded hitters to a .201 batting average during his career.

Torres, 27, did not have a decision while posting a 3.15 ERA with one save in 39 games with the Mets this season.