Class MixRepositoryClustered<T>

java.lang.Object
tigase.mix.model.MixRepository<T>
tigase.mix.cluster.MixRepositoryClustered<T>
All Implemented Interfaces:
tigase.mix.model.IMixRepository, tigase.pubsub.repository.cached.CachedPubSubRepository.NodeAffiliationProvider<T>, tigase.pubsub.repository.IItems.IListnener, tigase.pubsub.repository.IPubSubRepository.IListener

@Bean(name="mixRepository", parent=MixComponentClustered.class, active=true) public class MixRepositoryClustered<T> extends tigase.mix.model.MixRepository<T>
  • Nested Class Summary

    Nested classes/interfaces inherited from class tigase.mix.model.MixRepository

    tigase.mix.model.MixRepository.ParticipantKey
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invalidateChannelParticipant(tigase.xmpp.jid.BareJID channelJID, String participantID)
     
    void
    itemWritten(tigase.xmpp.jid.BareJID serviceJID, String node, String id, String publisher, tigase.xml.Element item, String uuid)
     
    void
    removeParticipant(tigase.xmpp.jid.BareJID channelJID, String participantID)
     
    void
    updateChannelConfiguration(tigase.xmpp.jid.BareJID serviceJID, tigase.xml.Element item)
     
    protected tigase.mix.model.Participant
    updateParticipant(tigase.xmpp.jid.BareJID channelJID, String participantId, tigase.xmpp.jid.BareJID participantJID, String nick)
     

    Methods inherited from class tigase.mix.model.MixRepository

    bannedParticipantFromChannel, getAllowed, getBanned, getChannelConfiguration, getChannelName, getNodeSubscriptions, getParticipant, getParticipant, getParticipant, getParticipantIds, getParticipantJidFromJidMap, getTempParticipantJID, getUserAffiliations, itemDeleted, jidVisibilityChanged, loadChannelConfiguration, newNodeAffiliations, removeJidMap, removeParticipant, removeTempParticipant, serviceRemoved, updateJidMap, updateParticipant, updateTempParticipant, validateItem

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MixRepositoryClustered

      public MixRepositoryClustered()
  • Method Details

    • itemWritten

      public void itemWritten(tigase.xmpp.jid.BareJID serviceJID, String node, String id, String publisher, tigase.xml.Element item, String uuid)
      Specified by:
      itemWritten in interface tigase.pubsub.repository.IItems.IListnener
      Overrides:
      itemWritten in class tigase.mix.model.MixRepository<T>
    • updateChannelConfiguration

      public void updateChannelConfiguration(tigase.xmpp.jid.BareJID serviceJID, tigase.xml.Element item)
      Overrides:
      updateChannelConfiguration in class tigase.mix.model.MixRepository<T>
    • updateParticipant

      protected tigase.mix.model.Participant updateParticipant(tigase.xmpp.jid.BareJID channelJID, String participantId, tigase.xmpp.jid.BareJID participantJID, String nick) throws tigase.pubsub.exceptions.PubSubException, tigase.component.exceptions.RepositoryException
      Overrides:
      updateParticipant in class tigase.mix.model.MixRepository<T>
      Throws:
      tigase.pubsub.exceptions.PubSubException
      tigase.component.exceptions.RepositoryException
    • removeParticipant

      public void removeParticipant(tigase.xmpp.jid.BareJID channelJID, String participantID) throws tigase.component.exceptions.RepositoryException
      Specified by:
      removeParticipant in interface tigase.mix.model.IMixRepository
      Overrides:
      removeParticipant in class tigase.mix.model.MixRepository<T>
      Throws:
      tigase.component.exceptions.RepositoryException
    • invalidateChannelParticipant

      public void invalidateChannelParticipant(tigase.xmpp.jid.BareJID channelJID, String participantID) throws tigase.component.exceptions.RepositoryException
      Overrides:
      invalidateChannelParticipant in class tigase.mix.model.MixRepository<T>
      Throws:
      tigase.component.exceptions.RepositoryException