org.prevayler.implementation.publishing
Class POBox
java.lang.Object
org.prevayler.implementation.publishing.POBox
- All Implemented Interfaces:
- Runnable, TransactionSubscriber
public class POBox
- extends Object
- implements TransactionSubscriber, Runnable
An assyncronous buffer for transaction subscribers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POBox
public POBox(TransactionSubscriber delegate)
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.