public abstract class AbstractBatchingMessageGroupStore extends Object implements BasicMessageGroupStore
Constructor and Description |
---|
AbstractBatchingMessageGroupStore() |
Modifier and Type | Method and Description |
---|---|
protected MessageGroupFactory |
getMessageGroupFactory() |
int |
getRemoveBatchSize() |
void |
setMessageGroupFactory(MessageGroupFactory messageGroupFactory)
Specify the
MessageGroupFactory to create MessageGroup object where
it is necessary. |
void |
setRemoveBatchSize(int removeBatchSize)
Set the batch size when bulk removing messages from groups for message stores
that support batch removal.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMessageToGroup, getMessageGroup, messageGroupSize, pollMessageFromGroup, removeMessageGroup
public void setRemoveBatchSize(int removeBatchSize)
removeBatchSize
- the batch size.public int getRemoveBatchSize()
public void setMessageGroupFactory(MessageGroupFactory messageGroupFactory)
MessageGroupFactory
to create MessageGroup
object where
it is necessary.
Defaults to SimpleMessageGroupFactory
.messageGroupFactory
- the MessageGroupFactory
to use.protected MessageGroupFactory getMessageGroupFactory()