There is a common misconception that a suspended sentence is one step down from immediate custody. It is not. A suspended sentence ranks equally with a custodial one. What the judge is saying in effect is, "You deserve to go to prison for this, but due wholly to exceptional circumstances surrounding this particular case, or yourself, I am minded not to commit you immediately. If you are a good boy for the next twelve months (or whatever time), and comply fully with the directions of the court, I may well mitigate the sentence in due course of time".
Suspended sentences are actually much less frequent than the media would have us believe.