Klasse SingleCollectionMessaging

java.lang.Object
java.lang.Thread
de.caluga.morphium.messaging.SingleCollectionMessaging
Alle implementierten Schnittstellen:
MorphiumMessaging, ShutdownListener, Closeable, AutoCloseable, Runnable

public class SingleCollectionMessaging extends Thread implements ShutdownListener, MorphiumMessaging
User: Stephan Bösebeck Date: 26.05.12 Time: 15:48

Messaging implements a simple, threadsafe and messaging api. Used for cache synchronization. Msg can have several modes: - LockedBy set to ALL (Exclusive Messages): every listener may process it (in parallel), means 1->n. e.g. Cache sync - LockedBy null (non exclusive messages): only one listener at a time - Message listeners may return a Message as answer. Or throw a MessageRejectedException.c