What would America do in Israel's place?

Has there ever been another nation that calls on its enemy to vacate the premises targeted for an air strike, as Israel has done in Gaza? After 10,000 rockets launched from Gaza into civilian areas over the last several years, Israel has finally had enough. What would America do to protect its citizens from such a prolonged barrage?