public class ClusteringMetadata extends Object implements tigase.sys.OnlineJidsReporter
| Modifier and Type | Field and Description |
|---|---|
protected Map<tigase.xmpp.BareJID,Map<tigase.xmpp.JID,ConnectionRecordExt>> |
userConnections
Field description
|
| Constructor and Description |
|---|
ClusteringMetadata() |
| Modifier and Type | Method and Description |
|---|---|
long |
connectionsSize()
Method description
|
boolean |
containsJid(tigase.xmpp.BareJID jid)
Method description
|
tigase.xmpp.JID[] |
getConnectionIdsForJid(tigase.xmpp.BareJID jid)
Method description
|
ConnectionRecordExt |
getConnectionRecord(tigase.xmpp.JID jid) |
Set<ConnectionRecordExt> |
getConnectionRecords(tigase.xmpp.BareJID bareJID) |
Object |
getInternalData() |
List<tigase.xmpp.JID> |
getNodesForJid(tigase.xmpp.JID jid)
Method description
|
boolean |
hasCompleteJidsInfo()
Method description
|
long |
mapSize()
Method description
|
boolean |
needsSync()
Method description
|
void |
removeAllForNode(tigase.xmpp.JID node)
Method description
|
void |
userDisconnected(Queue<tigase.server.Packet> results,
ConnectionRecordExt rec) |
void |
usersConnected(Queue<tigase.server.Packet> results,
ConnectionRecordExt... recs) |
protected final Map<tigase.xmpp.BareJID,Map<tigase.xmpp.JID,ConnectionRecordExt>> userConnections
public long connectionsSize()
public boolean containsJid(tigase.xmpp.BareJID jid)
containsJid in interface tigase.sys.OnlineJidsReporterjid - public long mapSize()
public boolean needsSync()
public void removeAllForNode(tigase.xmpp.JID node)
node - public void userDisconnected(Queue<tigase.server.Packet> results, ConnectionRecordExt rec)
results - rec - public void usersConnected(Queue<tigase.server.Packet> results, ConnectionRecordExt... recs)
results - recs - public tigase.xmpp.JID[] getConnectionIdsForJid(tigase.xmpp.BareJID jid)
getConnectionIdsForJid in interface tigase.sys.OnlineJidsReporterjid - public ConnectionRecordExt getConnectionRecord(tigase.xmpp.JID jid)
jid - public Set<ConnectionRecordExt> getConnectionRecords(tigase.xmpp.BareJID bareJID)
bareJID - public Object getInternalData()
public List<tigase.xmpp.JID> getNodesForJid(tigase.xmpp.JID jid)
jid - public boolean hasCompleteJidsInfo()
hasCompleteJidsInfo in interface tigase.sys.OnlineJidsReporterCopyright © 2014 Tigase. All rights reserved.