public abstract class CachingCmdAbstract
extends tigase.cluster.api.CommandListenerAbstract
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_ID
Field description
|
static String |
CREATION_TIME
Field description
|
static String |
LOGIN_TIME
Field description
|
static String |
PRESENCE_TYPE_INITIAL
Field description
|
static String |
PRESENCE_TYPE_KEY
Field description
|
static String |
RESOURCE
Field description
|
static String |
SM_ID
Field description
|
static String |
USER_ID
Field description
|
static String |
XMPP_SESSION_ID
Field description
|
| Constructor and Description |
|---|
CachingCmdAbstract(String name,
OnlineUsersCachingStrategy strat)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
protected ConnectionRecordExt |
getConnectionRecord(tigase.xmpp.JID node,
Map<String,String> data)
Method takes the data received from other cluster node and creates a
ConnectionRecord with all essential connection information.
|
OnlineUsersCachingStrategy |
getStrategy()
Method description
|
compareTo, equals, getName, getStatistics, getSyncInTraffic, getSyncOutTraffic, hashCode, incSyncInTraffic, incSyncOutTraffic, setNamepublic static final String CONNECTION_ID
public static final String CREATION_TIME
public static final String LOGIN_TIME
public static final String PRESENCE_TYPE_INITIAL
public static final String PRESENCE_TYPE_KEY
public static final String RESOURCE
public static final String SM_ID
public static final String USER_ID
public static final String XMPP_SESSION_ID
public CachingCmdAbstract(String name, OnlineUsersCachingStrategy strat)
name - strat - public OnlineUsersCachingStrategy getStrategy()
protected ConnectionRecordExt getConnectionRecord(tigase.xmpp.JID node, Map<String,String> data)
node - data - Copyright © 2014 Tigase. All rights reserved.