Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Utilities.genID

Generates an ID.

This method has two variants, both are deprecated:


Utilities.genID

Deprecated. Replaced by ICS.genId(boolean bclusterSafe) .

Generates a unique number based on the current time.

Syntax

Description

The genID method generates a unique number based on the current time.

This method is safe within the virtual machine. The ID is not guaranteed to be unique across several virtual machines.

Returns

Returns the string containing the number, or null on error.


Utilities.genID

Deprecated. Replaced by ICS.genId(boolean bclusterSafe) .

Syntax

Parameters

icsThread
Input. Specify an interface object to synchronize this number across virtual machines and/or the cluster.

Description

The genID method generates a unique number based on the current time.

Returns

Returns the string containing the number, or null on error.

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005,2006,2007,2008 by FatWire Corporation
All rights reserved.