com.metamatrix.common.id.dbid
Interface DBIDController

All Known Implementing Classes:
InMemoryIDController, PersistentIDController

public interface DBIDController


Method Summary
 long getUniqueID(java.lang.String context)
           
 long getUniqueID(java.lang.String context, boolean enableRollOver)
           
 void setContextBlockSize(java.lang.String context, long size)
           
 void shutDown()
          Call when the DBIDGenerator is no longer needed and the database connections can be closed.
 

Method Detail

setContextBlockSize

void setContextBlockSize(java.lang.String context,
                         long size)

getUniqueID

long getUniqueID(java.lang.String context)
                 throws DBIDGeneratorException
Throws:
DBIDGeneratorException

getUniqueID

long getUniqueID(java.lang.String context,
                 boolean enableRollOver)
                 throws DBIDGeneratorException
Throws:
DBIDGeneratorException

shutDown

void shutDown()
Call when the DBIDGenerator is no longer needed and the database connections can be closed.



Copyright © 2009. All Rights Reserved.