org.jivesoftware.xiff.data.id

class SharedObjectGenerator

Object | +--org.jivesoftware.xiff.data.id.SharedObjectGenerator
Implemented Interfaces: IIDGenerator

class SharedObjectGenerator extends Object
Generates an incrementing ID and saves the last value in a local shared object. Guaranteed to generate unique IDs for a single machine.
  • Author:
    Sean Treadway
  • Since:
    2.0.0

Constructor

Method Summary

getID ( prefix: String ): String
Gets the unique ID.

Constructor Documentation

SharedObjectGenerator

function SharedObjectGenerator (
)

    Method Documentation

    getID

    function getID (
    prefix: String): String
    Gets the unique ID.

    The documentation was generated from the following file:
    • SharedObjectGenerator.as, Last Modified: 3/10/2005 10:10:46 PM