Well revolvers can go out of time, especially if they are not maintained. Many shooters feel that it is perfectly fine to run a revolver dry, and never lube anything and this will accelerate wear of the bolt and hand, as well as cylinder bolt notches and the cylinder ratchet. Of course there are the sometimes occurring cracks in barrel forcing cones, and frames stretching. Typically you don't see these problems unless the gun has been shot many tens of thousands of rounds, especially if we are talking about a handgun cartridge in the 9mm power and operating pressure level. I would expect a double action wheel gun on a medium to large frame in .38 Special or even .357 Magnum to last a very very long time with regular cleaning and lubrication. Maybe not as long as a Glock, but don't expect a Glock to never need any parts ever, trigger parts in Glocks are known to break for example, magazine springs and recoil springs wear out too. A well made single action revolver can probably last even longer compared to a double action, just for the simple fact that a single action has fewer parts and the cylinder is supported on only one rotating axis (no crane/yolk) that is fixed.
Where a revolver has a longevity and utility advantage over a semi-auto pistol is when we start talking about using more powerful handgun ammunition. Durability wise I would bet on a revolver lasting longer at power levels at or above a .357 Magnum, plus the revolver has the advantage of not requiring magazines which can become damaged or lost. Revolvers have the ability to chamber and fire a wider variety of projectile shapes than an autoloading pistol, plus they can chamber and fire a wider variety of operating pressures since the revolver is not affected by the need for a window of operating pressure to cycle the action.
Any thought of using ammunition significantly more powerful than a .357 Magnum, such as the .41 and .44 Magnums or hot .45 Colt, .454 Casull etc are basically not even in the realm of possibility for any Glock. About the only commercially available auto that can fire any of these rounds is the Desert Eagle, and frankly that pistol is such a behemoth that it is not exactly practical.