GigaSpaces XAP 9.7.2 API

com.sun.jini.reggie
Class UuidGenerator

java.lang.Object
  extended by com.sun.jini.reggie.UuidGenerator

public class UuidGenerator
extends Object

Class for generating Uuid instances. By default, Reggie uses instances of this class to generate Uuids; this behavior can be customized by providing as configuration entry values instances of subclasses which override the generate() method of this class.

Since:
2.0
Author:
Sun Microsystems, Inc.

Constructor Summary
UuidGenerator()
          Creates new UuidGenerator instance.
 
Method Summary
 Uuid generate()
          Generates a new Uuid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UuidGenerator

public UuidGenerator()
Creates new UuidGenerator instance.

Method Detail

generate

public Uuid generate()
Generates a new Uuid. The default implementation of this method returns the result of calling UuidFactory.generate(); subclasses can override this method to customize Uuid generation.

Returns:
newly generated Uuid

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.