org.jboss.messaging.core.contract
Interface MessageStore

All Superinterfaces:
MessagingComponent
All Known Implementing Classes:
SimpleMessageStore

public interface MessageStore
extends MessagingComponent

When loading a message from storage, references from different channels can reference the same message. In order to avoid loading the message more than once, loaded or paged references are stored in the message store

Version:
$Revision: 3031 $ $Id: MessageStore.java 3031 2007-08-22 19:18:40Z timfox $
Author:
Ovidiu Feodorov, Tim Fox

Method Summary
 void clear()
           
 MessageReference reference(long messageID)
           
 MessageReference reference(Message message)
           
 
Methods inherited from interface org.jboss.messaging.core.contract.MessagingComponent
start, stop
 

Method Detail

reference

MessageReference reference(long messageID)

reference

MessageReference reference(Message message)

clear

void clear()


Copyright © 2006 JBoss Inc. All Rights Reserved.