@Bean(name="pubsubRepository",
parent=PubSubComponentClustered.class,
active=true)
public class CachedPubSubRepositoryClustered<T>
extends tigase.pubsub.repository.cached.CachedPubSubRepository<T>
implements IPubSubRepositoryClustered<T>
tigase.pubsub.repository.cached.CachedPubSubRepository.NodeKey, tigase.pubsub.repository.cached.CachedPubSubRepository.RootCollectionSet| Constructor and Description |
|---|
CachedPubSubRepositoryClustered() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToRootCollection(tigase.xmpp.jid.BareJID serviceJid,
String nodeName) |
void |
clearRemoteNodes() |
void |
deleteNode(tigase.xmpp.jid.BareJID serviceJid,
String nodeName) |
void |
forgetConfiguration(tigase.xmpp.jid.BareJID serviceJid,
String nodeName) |
protected tigase.pubsub.repository.cached.Node |
getNode(tigase.xmpp.jid.BareJID serviceJid,
String nodeName) |
tigase.pubsub.AbstractNodeConfig |
getNodeConfig(tigase.xmpp.jid.BareJID serviceJid,
String nodeName) |
tigase.pubsub.repository.cached.Node |
getNodeFromCache(tigase.xmpp.jid.BareJID serviceJid,
String nodeName) |
long |
getNodesCount(tigase.xmpp.jid.BareJID serviceJID) |
tigase.pubsub.repository.IPubSubRepository.RootCollectionSetIfc |
getRootCollectionSet(tigase.xmpp.jid.BareJID serviceJid) |
void |
getStatistics(String name,
tigase.stats.StatisticsList stats) |
protected boolean |
isLocalNode(tigase.xmpp.jid.BareJID serviceJid,
String nodeName) |
void |
nodeAdded(tigase.xmpp.jid.BareJID serviceJid,
String node) |
protected void |
nodeCollectionChanged(tigase.xmpp.jid.BareJID serviceJid,
String nodeName,
String oldCollection,
String newCollection) |
void |
nodeRemoved(tigase.xmpp.jid.BareJID serviceJid,
String node) |
void |
onUserRemoved(tigase.xmpp.jid.BareJID userJid) |
void |
removeFromRootCollection(tigase.xmpp.jid.BareJID serviceJid,
String nodeName) |
void |
update(tigase.xmpp.jid.BareJID serviceJid,
String nodeName,
tigase.pubsub.AbstractNodeConfig nodeConfig) |
void |
update(tigase.xmpp.jid.BareJID serviceJid,
String nodeName,
tigase.pubsub.repository.IAffiliations nodeAffiliations) |
void |
update(tigase.xmpp.jid.BareJID serviceJid,
String nodeName,
tigase.pubsub.repository.ISubscriptions nodeSubscriptions) |
void |
userRemoved(tigase.xmpp.jid.BareJID userJid) |
protected tigase.pubsub.repository.cached.NodeSubscriptions |
wrapNodeSubscriptions(tigase.pubsub.repository.NodeSubscriptions nodeSubscriptions) |
createKey, createNode, destroy, everyHour, everyMinute, everySecond, getAllNodes, getBuddyGroups, getBuddySubscription, getChildNodes, getNodeAffiliations, getNodeAndSubnodes, getNodeItems, getNodeMeta, getNodeSubscriptions, getPubSubDAO, getRootCollection, getUserRoster, getUserSubscriptions, hasAccessPermission, init, initialize, loadRootCollections, newQuery, queryItems, setDao, setStatisticsPrefix, statisticExecutedInclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void addToRootCollection(tigase.xmpp.jid.BareJID serviceJid,
String nodeName)
throws tigase.component.exceptions.RepositoryException
addToRootCollection in interface tigase.pubsub.repository.IPubSubRepositoryaddToRootCollection in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void removeFromRootCollection(tigase.xmpp.jid.BareJID serviceJid,
String nodeName)
throws tigase.component.exceptions.RepositoryException
removeFromRootCollection in interface tigase.pubsub.repository.IPubSubRepositoryremoveFromRootCollection in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic tigase.pubsub.repository.IPubSubRepository.RootCollectionSetIfc getRootCollectionSet(tigase.xmpp.jid.BareJID serviceJid)
throws tigase.component.exceptions.RepositoryException
getRootCollectionSet in interface IPubSubRepositoryClustered<T>getRootCollectionSet in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void forgetConfiguration(tigase.xmpp.jid.BareJID serviceJid,
String nodeName)
throws tigase.component.exceptions.RepositoryException
forgetConfiguration in interface tigase.pubsub.repository.IPubSubRepositoryforgetConfiguration in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void deleteNode(tigase.xmpp.jid.BareJID serviceJid,
String nodeName)
throws tigase.component.exceptions.RepositoryException
deleteNode in interface tigase.pubsub.repository.IPubSubRepositorydeleteNode in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void update(tigase.xmpp.jid.BareJID serviceJid,
String nodeName,
tigase.pubsub.AbstractNodeConfig nodeConfig)
throws tigase.component.exceptions.RepositoryException
update in interface tigase.pubsub.repository.IPubSubRepositoryupdate in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic tigase.pubsub.repository.cached.Node getNodeFromCache(tigase.xmpp.jid.BareJID serviceJid,
String nodeName)
getNodeFromCache in interface IPubSubRepositoryClustered<T>getNodeFromCache in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>public tigase.pubsub.AbstractNodeConfig getNodeConfig(tigase.xmpp.jid.BareJID serviceJid,
String nodeName)
throws tigase.component.exceptions.RepositoryException
getNodeConfig in interface tigase.pubsub.repository.IPubSubRepositorygetNodeConfig in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void clearRemoteNodes()
clearRemoteNodes in interface IPubSubRepositoryClustered<T>public long getNodesCount(tigase.xmpp.jid.BareJID serviceJID)
throws tigase.component.exceptions.RepositoryException
getNodesCount in interface tigase.pubsub.repository.IPubSubRepositorygetNodesCount in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void nodeAdded(tigase.xmpp.jid.BareJID serviceJid,
String node)
nodeAdded in interface IPubSubRepositoryClustered<T>public void nodeRemoved(tigase.xmpp.jid.BareJID serviceJid,
String node)
nodeRemoved in interface IPubSubRepositoryClustered<T>public void getStatistics(String name, tigase.stats.StatisticsList stats)
getStatistics in interface tigase.stats.StatisticHoldergetStatistics in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>public void onUserRemoved(tigase.xmpp.jid.BareJID userJid)
throws tigase.component.exceptions.RepositoryException
onUserRemoved in interface tigase.pubsub.repository.IPubSubRepositoryonUserRemoved in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void update(tigase.xmpp.jid.BareJID serviceJid,
String nodeName,
tigase.pubsub.repository.IAffiliations nodeAffiliations)
throws tigase.component.exceptions.RepositoryException
update in interface tigase.pubsub.repository.IPubSubRepositoryupdate in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void update(tigase.xmpp.jid.BareJID serviceJid,
String nodeName,
tigase.pubsub.repository.ISubscriptions nodeSubscriptions)
throws tigase.component.exceptions.RepositoryException
update in interface tigase.pubsub.repository.IPubSubRepositoryupdate in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionpublic void userRemoved(tigase.xmpp.jid.BareJID userJid)
userRemoved in interface IPubSubRepositoryClustered<T>userRemoved in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>protected tigase.pubsub.repository.cached.Node getNode(tigase.xmpp.jid.BareJID serviceJid,
String nodeName)
throws tigase.component.exceptions.RepositoryException
getNode in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>tigase.component.exceptions.RepositoryExceptionprotected boolean isLocalNode(tigase.xmpp.jid.BareJID serviceJid,
String nodeName)
protected void nodeCollectionChanged(tigase.xmpp.jid.BareJID serviceJid,
String nodeName,
String oldCollection,
String newCollection)
nodeCollectionChanged in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>protected tigase.pubsub.repository.cached.NodeSubscriptions wrapNodeSubscriptions(tigase.pubsub.repository.NodeSubscriptions nodeSubscriptions)
wrapNodeSubscriptions in class tigase.pubsub.repository.cached.CachedPubSubRepository<T>Copyright © 2013–2019 Tigase. All rights reserved.