Purpose

Returns a random domain instance.

Examples
def randomPerson = Person.random()
Description

One of the major benifits of Redis is its great support for set operations including returning random set elements. This method takes advantage of that capability by returning a random instance of the corresponding domain class.