xmlBlaster 2.2.0 API

org.xmlBlaster.engine
Class SubjectEntryShuffler

java.lang.Object
  extended by 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
           
 
Constructor Summary
SubjectEntryShuffler(ServerScope global)
          The constructor starts the thread as a daemon and waits for shuffle invocations.
 
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
 

Field Detail

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
Constructor Detail

SubjectEntryShuffler

SubjectEntryShuffler(ServerScope global)
The constructor starts the thread as a daemon and waits for shuffle invocations.

Method Detail

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()

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.