public class BatchingIDGenerator extends Object implements IDGenerator
Constructor and Description |
---|
BatchingIDGenerator(long start,
long checkpointSize,
Journal journalstorage) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
generateID() |
long |
getCurrentID() |
void |
loadState(long journalID,
HornetQBuffer buffer) |
public BatchingIDGenerator(long start, long checkpointSize, Journal journalstorage)
public void close()
public void loadState(long journalID, HornetQBuffer buffer)
public long generateID()
generateID
in interface IDGenerator
public long getCurrentID()
getCurrentID
in interface IDGenerator
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.