Package tigase.pubsub.repository.cached
Class NodeAffiliations
java.lang.Object
tigase.pubsub.repository.NodeAffiliations
tigase.pubsub.repository.cached.NodeAffiliations
- All Implemented Interfaces:
IAffiliationsCached
,IAffiliations
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ThreadLocal<Map<tigase.xmpp.jid.BareJID,
UsersAffiliation>> Fields inherited from class tigase.pubsub.repository.NodeAffiliations
affs, DELIMITER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAffiliation
(tigase.xmpp.jid.BareJID bareJid, Affiliation affiliation) void
changeAffiliation
(tigase.xmpp.jid.BareJID bareJid, Affiliation affiliation) clone()
protected UsersAffiliation
get
(tigase.xmpp.jid.BareJID bareJid) Map<tigase.xmpp.jid.BareJID,
UsersAffiliation> boolean
void
merge()
void
Methods inherited from class tigase.pubsub.repository.NodeAffiliations
getAffiliationsMap, getSubscriberAffiliation, size, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface tigase.pubsub.repository.IAffiliations
getSubscriberAffiliation, size
-
Field Details
-
changedAffs
-
-
Constructor Details
-
NodeAffiliations
public NodeAffiliations() -
NodeAffiliations
-
-
Method Details
-
addAffiliation
- Specified by:
addAffiliation
in interfaceIAffiliations
- Overrides:
addAffiliation
in classNodeAffiliations
-
changeAffiliation
- Specified by:
changeAffiliation
in interfaceIAffiliations
- Overrides:
changeAffiliation
in classNodeAffiliations
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
getAffiliations
- Specified by:
getAffiliations
in interfaceIAffiliations
- Overrides:
getAffiliations
in classNodeAffiliations
-
getChanged
- Specified by:
getChanged
in interfaceIAffiliationsCached
-
isChanged
public boolean isChanged()- Specified by:
isChanged
in interfaceIAffiliationsCached
-
merge
public void merge()- Specified by:
merge
in interfaceIAffiliationsCached
-
resetChangedFlag
public void resetChangedFlag()- Specified by:
resetChangedFlag
in interfaceIAffiliationsCached
-
get
- Overrides:
get
in classNodeAffiliations
-