Prevayler™
The Free Software
Prevalence Layer

org.prevayler.implementation.publishing
Class POBox

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.prevayler.implementation.publishing.POBox
All Implemented Interfaces:
java.lang.Runnable, TransactionSubscriber

public class POBox
extends java.lang.Thread
implements TransactionSubscriber

An assyncronous buffer for transaction subscribers.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
POBox(TransactionSubscriber delegate)
           
 
Method Summary
 void receive(Transaction transaction, java.util.Date timestamp)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

POBox

public POBox(TransactionSubscriber delegate)
Method Detail

receive

public void receive(Transaction transaction,
                    java.util.Date timestamp)
Specified by:
receive in interface TransactionSubscriber

run

public void run()
Specified by:
run in interface java.lang.Runnable


'Prevayler' is a trademark of Klaus Wuestefeld.
Copyleft 2001-2004 Klaus Wuestefeld.