Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.jms.message
Class MessageIdGenerator

    java.lang.Object
      org.jboss.jms.message.MessageIdGenerator

public class MessageIdGenerator
extends java.lang.Object

A MessageIdGenerator.

Version:
  1.1 MessageIdGenerator.java,v 1.1 2006/03/07 17:11:14 timfox Exp
Author:
  Tim Fox, Ovidiu Feodorov

Field Summary
`protected int` | `blockSize`
`protected ConnectionFactoryDelegate` | `cfd`
`protected long` | `high`
`protected long` | `nextID`

Constructor Summary
`MessageIdGenerator(ConnectionFactoryDelegate cfd, int blockSize)`

Method Summary
`long` | `getId()`
`protected void` | `getNextBlock()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### high

    protected long high

### nextID

    protected long nextID

### blockSize

    protected int blockSize

### cfd

    protected ConnectionFactoryDelegate cfd

Constructor Detail

### MessageIdGenerator

    public MessageIdGenerator(ConnectionFactoryDelegate cfd,
                              int blockSize)
                       throws JMSException

Method Detail

### getNextBlock

    protected void getNextBlock()
                         throws JMSException

  Throws:
    `JMSException`

### getId

    public long getId()
               throws JMSException

  Throws:
    `JMSException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 JBoss Inc. All Rights Reserved.