Class CachingCmdAbstract

  • All Implemented Interfaces:
    java.lang.Comparable<tigase.cluster.api.CommandListener>, tigase.cluster.api.CommandListener
    Direct Known Subclasses:
    TrafficSyncCmdAbstract

    public abstract class CachingCmdAbstract
    extends tigase.cluster.api.CommandListenerAbstract
    Author:
    kobit
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ConnectionRecordExt getConnectionRecord​(tigase.xmpp.jid.JID node, java.util.Map<java.lang.String,​java.lang.String> data)
      Method takes the data received from other cluster node and creates a ConnectionRecord with all essential connection information.
      OnlineUsersCachingStrategy getStrategy()  
      • Methods inherited from class tigase.cluster.api.CommandListenerAbstract

        compareTo, equals, getName, getPriority, getStatistics, getSyncInTraffic, getSyncOutTraffic, hashCode, incSyncInTraffic, incSyncOutTraffic, setName, setPriority
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface tigase.cluster.api.CommandListener

        executeCommand
    • Method Detail

      • getConnectionRecord

        protected ConnectionRecordExt getConnectionRecord​(tigase.xmpp.jid.JID node,
                                                          java.util.Map<java.lang.String,​java.lang.String> data)
        Method takes the data received from other cluster node and creates a ConnectionRecord with all essential connection information. This might be used later to identify user's XMPPResourceConnection or use the clustering strategy API.