Package tigase.meet.cluster.commands
Class MeetCreationLockCommand
java.lang.Object
tigase.cluster.api.CommandListenerAbstract
tigase.meet.cluster.commands.MeetCreationLockCommand
- All Implemented Interfaces:
Comparable<tigase.cluster.api.CommandListener>,tigase.cluster.api.CommandListener
@Bean(name="meetCreationLockCommand",
parent=StrategyIfc.class,
active=true)
public class MeetCreationLockCommand
extends tigase.cluster.api.CommandListenerAbstract
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidacquiredLock(StrategyIfc strategy, tigase.xmpp.jid.BareJID meetJid, Collection<tigase.xmpp.jid.JID> toNodes, boolean result) static voidacquireLock(StrategyIfc strategy, tigase.xmpp.jid.BareJID meetJid, Collection<tigase.xmpp.jid.JID> toNodes, Long until) voidexecuteCommand(tigase.xmpp.jid.JID jid, Set<tigase.xmpp.jid.JID> set, Map<String, String> map, Queue<tigase.xml.Element> queue) static voidreleaseLock(StrategyIfc strategy, tigase.xmpp.jid.BareJID meetJid, Collection<tigase.xmpp.jid.JID> toNodes, boolean success) Methods inherited from class tigase.cluster.api.CommandListenerAbstract
compareTo, equals, getName, getPriority, getStatistics, getSyncInTraffic, getSyncOutTraffic, hashCode, incSyncInTraffic, incSyncOutTraffic, setName, setPriority
-
Field Details
-
MEET_CREATION_LOCK
- See Also:
-
-
Constructor Details
-
MeetCreationLockCommand
public MeetCreationLockCommand()
-
-
Method Details
-
acquireLock
public static void acquireLock(StrategyIfc strategy, tigase.xmpp.jid.BareJID meetJid, Collection<tigase.xmpp.jid.JID> toNodes, Long until) -
acquiredLock
public static void acquiredLock(StrategyIfc strategy, tigase.xmpp.jid.BareJID meetJid, Collection<tigase.xmpp.jid.JID> toNodes, boolean result) -
releaseLock
public static void releaseLock(StrategyIfc strategy, tigase.xmpp.jid.BareJID meetJid, Collection<tigase.xmpp.jid.JID> toNodes, boolean success) -
executeCommand
public void executeCommand(tigase.xmpp.jid.JID jid, Set<tigase.xmpp.jid.JID> set, Map<String, String> map, Queue<tigase.xml.Element> queue) throws tigase.cluster.api.ClusterCommandException- Throws:
tigase.cluster.api.ClusterCommandException
-