Interface MessageArchiveRepository<Q extends Query,​DS extends tigase.db.DataSource>

  • All Superinterfaces:
    tigase.db.DataSourceAware<DS>, tigase.xmpp.mam.MAMRepository<Q,​tigase.xmpp.mam.MAMRepository.Item>
    All Known Implementing Classes:
    AbstractMessageArchiveRepository, JDBCMessageArchiveRepository, MessageArchiveRepositoryPool

    public interface MessageArchiveRepository<Q extends Query,​DS extends tigase.db.DataSource>
    extends tigase.db.DataSourceAware<DS>, tigase.xmpp.mam.MAMRepository<Q,​tigase.xmpp.mam.MAMRepository.Item>
    Author:
    andrzej
    • Method Detail

      • deleteExpiredMessages

        void deleteExpiredMessages​(tigase.xmpp.jid.BareJID owner,
                                   LocalDateTime before)
                            throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • destroy

        default void destroy()
        Destroys instance of this repository and releases resources allocated if possible
      • removeItems

        void removeItems​(tigase.xmpp.jid.BareJID owner,
                         String withJid,
                         Date start,
                         Date end)
                  throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • getTags

        List<String> getTags​(tigase.xmpp.jid.BareJID owner,
                             String startsWith,
                             Q criteria)
                      throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException