I am probably an atypical brewer in that I age kegs for years. Mostly because I produce a LOT more than I can reasonably drink, and I keep 14 on tap, so no one keg goes empty quickly, as I am drinking from a number of kegs.
I have a barleywine from 07. I just recently checked on it, and it is still holding up well, though sweeter than I recall, and of course no hop presence.
I have a keg of Liquid Stupid (look up the recipe if you haven't heard of it) from 08 that I also just checked on, and it hasn't aged as well as I would've liked, and is showing some definite oxidation now. I have a keg of Liquid Stupid from 2010, 2013, and also two kegs from 2015 still, so I will be hopefully able to do some tests to see how well it ages, and when it is at its peak. Like I said, I like to brew a lot more than I can drink.
I have a keg of what was brewed as a Double IPA from 2007, which I haven't checked on in years, and I just checked another keg of what was a Double IPA from 2010, which is more of a barleywine now, which isn't bad at all, but it definitely isn't a Double IPA anymore.
I also have meads and ciders from 2006 still as well.
Suffice to say, take care of the beer well, and it should last any reasonable amount of time for you, though it will change over time. If you take care with oxygen exposure, the beer will last much longer without having oxidation flavors, though some styles actually improve with slight oxidation.