An Old Etonian who threatened to throw his ex-partner down a disused well has been jailed for 24 years for attempted murder.