/** * Creates an instance of DefaultUniqueTicketIdGenerator with a specified * maximum length for the random portion. * * @param maxLength the maximum length of the random string used to generate * the id. * @param suffix the value to append at the end of the unique id to ensure * uniqueness across JVMs. */ public DefaultUniqueTicketIdGenerator(final int maxLength, final String suffix) { setMaxLength(maxLength); setSuffix(suffix); }