DODS 7.3 API

com.lutris.appserver.server.sql
Interface ObjectIdAllocator

All Known Implementing Classes:
GeronimoJTAObjectIdAllocator, InformixObjectIdAllocator, JTAObjectIdAllocator, OracleObjectIdAllocator, StandardObjectIdAllocator

public interface ObjectIdAllocator

Defines the object id allocator. An object id allocator is an integral part of a logical database implementation. It manages the allocation of unique object ids.

Since:
LBS1.8
Version:
$Revision: 1.1 $
Author:
Paul Morgan

Method Summary
 ObjectId allocate()
          Allocate a new and unique object id.
 void checkOId(ObjectId oid)
          Check does oid belong to Object id's range [minOId, currentOId]
 

Method Detail

allocate

ObjectId allocate()
Allocate a new and unique object id.


checkOId

void checkOId(ObjectId oid)
              throws ObjectIdException
Check does oid belong to Object id's range [minOId, currentOId]

Parameters:
oid - oid which will be checked.
Throws:
ObjectIdException - If a oid does't belong to range.

DODS 7.3 API