Enhydra 3.1 API

com.lutris.appserver.server.sql.informix
Class InformixObjectIdAllocator

java.lang.Object
  |
  +--com.lutris.appserver.server.sql.standard.StandardObjectIdAllocator
        |
        +--com.lutris.appserver.server.sql.informix.InformixObjectIdAllocator

public class InformixObjectIdAllocator
extends StandardObjectIdAllocator

Informix Object ids can only be created via this manager. Ensures that all object ids are unique across all objects in this logical database. Also ensures good performance for allocating object ids.

The configuration data is specified in the section: DatabaseManager.DB.dbName.ObjectId

Configuration fields are:

Since:
LBS1.8
Version:
$Revision: 1.8.12.1 $

Constructor Summary
protected InformixObjectIdAllocator(LogicalDatabase logicalDatabase, Config objIdConfig)
          Initialize the object id manager.
 
Methods inherited from class com.lutris.appserver.server.sql.standard.StandardObjectIdAllocator
allocate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InformixObjectIdAllocator

protected InformixObjectIdAllocator(LogicalDatabase logicalDatabase,
                                    Config objIdConfig)
                             throws ConfigException
Initialize the object id manager.
Parameters:
objCacheSize - The number of object ids to cache between database queries.
objIdMinValue - The starting number for object ids. Used only if object id table is empty.
Throws:
ConfigException - if bad configuration information is given in the config file.

Enhydra 3.1 API