org.prevayler.implementation.publishing
Class POBox

java.lang.Object
  extended by org.prevayler.implementation.publishing.POBox
All Implemented Interfaces:
Runnable, TransactionSubscriber

public class POBox
extends Object
implements TransactionSubscriber, Runnable

An assyncronous buffer for transaction subscribers.


Constructor Summary
POBox(TransactionSubscriber delegate)
           
 
Method Summary
 void receive(TransactionTimestamp transactionTimestamp)
           
 void run()
           
 void waitToEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POBox

public POBox(TransactionSubscriber delegate)
Method Detail

receive

public void receive(TransactionTimestamp transactionTimestamp)
Specified by:
receive in interface TransactionSubscriber

run

public void run()
Specified by:
run in interface Runnable

waitToEmpty

public void waitToEmpty()


Copyright © 2001-2013. All Rights Reserved.