org.jboss.messaging.core.impl
Class IDManager
java.lang.Object
org.jboss.messaging.core.impl.IDManager
- All Implemented Interfaces:
- MessagingComponent
public class IDManager
- extends java.lang.Object
- implements MessagingComponent
A IDManager.
- Version:
- $Revision: 2686 $
$Id: IDManager.java 2686 2007-05-15 08:47:20Z timfox $
- Author:
- Tim Fox, Ovidiu Feodorov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IDManager
public IDManager(java.lang.String counterName,
int bigBlockSize,
PersistenceManager pm)
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface MessagingComponent
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop
in interface MessagingComponent
- Throws:
java.lang.Exception
getNextBigBlock
protected void getNextBigBlock()
throws java.lang.Exception
- Throws:
java.lang.Exception
getIDBlock
public IDBlock getIDBlock(int size)
throws java.lang.Exception
- Throws:
java.lang.Exception
getID
public long getID()
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2006 JBoss Inc. All Rights Reserved.