org.xmlBlaster.engine
Class SubjectEntryShuffler
java.lang.Object
org.xmlBlaster.engine.SubjectEntryShuffler
- All Implemented Interfaces:
- java.lang.Runnable
public class SubjectEntryShuffler
- extends java.lang.Object
- implements java.lang.Runnable
SubjectEntryShuffler
- Author:
- Marcel Ruff, Michele Laghi
Field Summary |
private java.util.concurrent.LinkedBlockingQueue<SubjectInfo> |
channel
|
private static java.util.logging.Logger |
log
|
private static java.lang.String |
ME
|
private java.util.Set<SubjectInfo> |
set
|
Method Summary |
void |
run()
|
void |
shuffle(SubjectInfo info)
shuffles the entries from the SubjectQueue to a SessionQueue in
an own thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ME
private static final java.lang.String ME
- See Also:
- Constant Field Values
log
private static java.util.logging.Logger log
channel
private java.util.concurrent.LinkedBlockingQueue<SubjectInfo> channel
set
private java.util.Set<SubjectInfo> set
SubjectEntryShuffler
SubjectEntryShuffler(ServerScope global)
- The constructor starts the thread as a daemon and waits for
shuffle invocations.
shuffle
public void shuffle(SubjectInfo info)
- shuffles the entries from the SubjectQueue to a SessionQueue in
an own thread.
- Parameters:
info
-
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- See Also:
Runnable.run()
Copyright © 1999-2014 The xmlBlaster.org contributers.