Interface MsgRepositoryIfc<T extends DataSource>
- All Superinterfaces:
DataSourceAware<T>, OfflineMsgRepositoryIfc, Repository
- All Known Implementing Classes:
JDBCMsgRepository, MsgRepository, MsgRepository.MsgRepositoryMDBean, XMLMsgRepository
public interface MsgRepositoryIfc<T extends DataSource>
extends OfflineMsgRepositoryIfc, DataSourceAware<T>
Created by andrzej on 13.03.2016.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Repository
Repository.Meta, Repository.SchemaId -
Method Summary
Modifier and TypeMethodDescriptionintdeleteMessagesToJID(List<String> db_ids, XMPPResourceConnection session) getMessagesCount(JID to) getMessagesList(JID to) loadMessagesToJID(List<String> db_ids, XMPPResourceConnection session, boolean delete, MsgRepository.OfflineMessagesProcessor proc) voidsetCondition(ReentrantLock lock, Condition condition) Deprecated.Methods inherited from interface DataSourceAware
setDataSourceMethods inherited from interface OfflineMsgRepositoryIfc
getMessageExpired, loadMessagesToJID, storeMessageMethods inherited from interface Repository
initRepository
-
Method Details
-
getMessagesCount
-
getMessagesList
-
setCondition
Deprecated. -
loadMessagesToJID
Queue<Element> loadMessagesToJID(List<String> db_ids, XMPPResourceConnection session, boolean delete, MsgRepository.OfflineMessagesProcessor proc) throws UserNotFoundException, TigaseDBException -
deleteMessagesToJID
int deleteMessagesToJID(List<String> db_ids, XMPPResourceConnection session) throws UserNotFoundException - Throws:
UserNotFoundException
-