com.metamatrix.common.id.dbid.spi
Class InMemoryIDController
java.lang.Object
com.metamatrix.common.id.dbid.spi.InMemoryIDController
- All Implemented Interfaces:
- DBIDController
public class InMemoryIDController
- extends java.lang.Object
- implements DBIDController
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryIDController
public InMemoryIDController()
createIDBlock
public ReservedIDBlock createIDBlock(long blockSize,
java.lang.String context)
throws DBIDGeneratorException
- Throws:
DBIDGeneratorException
getUniqueID
public long getUniqueID(java.lang.String context,
boolean enableRollOver)
throws DBIDGeneratorException
- Specified by:
getUniqueID
in interface DBIDController
- Throws:
DBIDGeneratorException
getUniqueID
public long getUniqueID(java.lang.String context)
throws DBIDGeneratorException
- Specified by:
getUniqueID
in interface DBIDController
- Throws:
DBIDGeneratorException
setContextBlockSize
public void setContextBlockSize(java.lang.String context,
long size)
- Specified by:
setContextBlockSize
in interface DBIDController
shutDown
public void shutDown()
- Nothing to shutdown when inmemory is used.
- Specified by:
shutDown
in interface DBIDController
Copyright © 2009. All Rights Reserved.