org.olat.core.util.event
Class MultiUserEvent
java.lang.Object
org.olat.core.gui.control.Event
org.olat.core.util.event.MultiUserEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AssessmentChangedEvent, AssessmentEvent, BGContextEvent, BookmarkEvent, BusinessGroupModifiedEvent, ChiefControllerMessageEvent, ClusterCacheWrapperEvent, ClusterInfoEvent, ContextHelpRatingEvent, CourseConfigEvent, EntryChangedEvent, FileSystemTestEvent, ForumChangedEvent, KalendarModifiedEvent, LanguageChangedEvent, NewIdentityCreatedEvent, NewIframeUriEvent, NoteEvent, OLATResourceableEvent, PersistedPropertiesChangedEvent, PersistsEvent, PublishEvent, ServiceStartedEvent, SignOnOffEvent, UserCommentsCountChangedEvent, UserRatingChangedEvent
public class MultiUserEvent
- extends Event
Description:
an event which is fired to potentially more than just one user.
must be serializable to support multiple server installations.
MultiUserEvents should also contain only simple messages.
That is, no veto, or confirm, or addSomethingTo() should be offered.
The publish/subscribe works as a fire & forget mechanism, especially when employed over several java vms.
Initial Date: 02.09.2004
- Author:
- Felix Jost
- See Also:
- Serialized Form
|
Method Summary |
int |
hashCode()
|
boolean |
isEventOnThisNode()
check if event in the same VM
this is used only in ClusterLocker to check if Release All Locks or users should be executed. |
java.lang.String |
toString()
should be overridden by subclasses for debug info |
| Methods inherited from class java.lang.Object |
equals, getClass, notify, notifyAll, wait, wait, wait |
MultiUserEvent
public MultiUserEvent(java.lang.String command)
- Parameters:
command -
toString
public java.lang.String toString()
- should be overridden by subclasses for debug info
- Overrides:
toString in class Event
- See Also:
Object.toString()
isEventOnThisNode
public boolean isEventOnThisNode()
- check if event in the same VM
this is used only in ClusterLocker to check if Release All Locks or users should be executed. (release locks for a
use is a "single node service")
FIXME:2008-11-27:pb == comparison to see if in the same VM.
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode in class Event