|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.pubsub.repository.cached.CachedPubSubRepository
public class CachedPubSubRepository
Class description
| Field Summary | |
|---|---|
protected Logger |
log
|
static long |
MAX_WRITE_DELAY
Field description |
| Constructor Summary | |
|---|---|
CachedPubSubRepository(PubSubDAO dao,
Integer maxCacheSize)
Constructs ... |
|
| Method Summary | |
|---|---|
void |
addStats(String name,
tigase.stats.StatisticsList stats)
Method description |
void |
addToRootCollection(String nodeName)
Method description |
void |
createNode(String nodeName,
String ownerJid,
AbstractNodeConfig nodeConfig,
NodeType nodeType,
String collection)
Method description |
void |
deleteNode(String nodeName)
Method description |
void |
destroy()
Method description |
void |
forgetConfiguration(String nodeName)
Method description |
String[] |
getBuddyGroups(tigase.xmpp.BareJID owner,
String bareJid)
Method description |
String |
getBuddySubscription(tigase.xmpp.BareJID owner,
String buddy)
Method description |
IAffiliations |
getNodeAffiliations(String nodeName)
Method description |
AbstractNodeConfig |
getNodeConfig(String nodeName)
Method description |
IItems |
getNodeItems(String nodeName)
Method description |
ISubscriptions |
getNodeSubscriptions(String nodeName)
Method description |
IPubSubDAO |
getPubSubDAO()
Method description |
String[] |
getRootCollection()
Method description |
String[] |
getUserRoster(tigase.xmpp.BareJID owner)
Method description |
void |
init()
Method description |
void |
removeFromRootCollection(String nodeName)
Method description |
void |
update(String nodeName,
AbstractNodeConfig nodeConfig)
Method description |
void |
update(String nodeName,
IAffiliations nodeAffiliations)
Method description |
void |
update(String nodeName,
ISubscriptions nodeSubscriptions)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long MAX_WRITE_DELAY
protected Logger log
| Constructor Detail |
|---|
public CachedPubSubRepository(PubSubDAO dao,
Integer maxCacheSize)
dao - maxCacheSize - | Method Detail |
|---|
public void addStats(String name,
tigase.stats.StatisticsList stats)
name - stats -
public void addToRootCollection(String nodeName)
throws RepositoryException
addToRootCollection in interface IPubSubRepositorynodeName -
RepositoryException
public void createNode(String nodeName,
String ownerJid,
AbstractNodeConfig nodeConfig,
NodeType nodeType,
String collection)
throws RepositoryException
createNode in interface IPubSubRepositorynodeName - ownerJid - nodeConfig - nodeType - collection -
RepositoryException
public void deleteNode(String nodeName)
throws RepositoryException
deleteNode in interface IPubSubRepositorynodeName -
RepositoryExceptionpublic void destroy()
destroy in interface IPubSubRepository
public void forgetConfiguration(String nodeName)
throws RepositoryException
forgetConfiguration in interface IPubSubRepositorynodeName -
RepositoryException
public String[] getBuddyGroups(tigase.xmpp.BareJID owner,
String bareJid)
throws RepositoryException
getBuddyGroups in interface IPubSubRepositoryowner - bareJid -
RepositoryException
public String getBuddySubscription(tigase.xmpp.BareJID owner,
String buddy)
throws RepositoryException
getBuddySubscription in interface IPubSubRepositoryowner - buddy -
RepositoryException
public IAffiliations getNodeAffiliations(String nodeName)
throws RepositoryException
getNodeAffiliations in interface IPubSubRepositorynodeName -
RepositoryException
public AbstractNodeConfig getNodeConfig(String nodeName)
throws RepositoryException
getNodeConfig in interface IPubSubRepositorynodeName -
RepositoryException
public IItems getNodeItems(String nodeName)
throws RepositoryException
getNodeItems in interface IPubSubRepositorynodeName -
RepositoryException
public ISubscriptions getNodeSubscriptions(String nodeName)
throws RepositoryException
getNodeSubscriptions in interface IPubSubRepositorynodeName -
RepositoryExceptionpublic IPubSubDAO getPubSubDAO()
getPubSubDAO in interface IPubSubRepository
public String[] getRootCollection()
throws RepositoryException
getRootCollection in interface IPubSubRepositoryRepositoryException
public String[] getUserRoster(tigase.xmpp.BareJID owner)
throws RepositoryException
getUserRoster in interface IPubSubRepositoryowner -
RepositoryExceptionpublic void init()
init in interface IPubSubRepository
public void removeFromRootCollection(String nodeName)
throws RepositoryException
removeFromRootCollection in interface IPubSubRepositorynodeName -
RepositoryException
public void update(String nodeName,
AbstractNodeConfig nodeConfig)
throws RepositoryException
update in interface IPubSubRepositorynodeName - nodeConfig -
RepositoryException
public void update(String nodeName,
IAffiliations nodeAffiliations)
throws RepositoryException
update in interface IPubSubRepositorynodeName - nodeAffiliations -
RepositoryException
public void update(String nodeName,
ISubscriptions nodeSubscriptions)
throws RepositoryException
update in interface IPubSubRepositorynodeName - nodeSubscriptions -
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||