|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionPublisher
Method Summary | |
---|---|
void |
cancelSubscription(TransactionSubscriber subscriber)
Stops publishing future transactions to the given subscriber. |
Clock |
clock()
Returns a Clock which is consistent with the Transaction publishing time. |
void |
close()
Closes any files or other system resources opened by this TransactionPublisher. |
void |
publish(Capsule capsule)
Publishes transaction to the subscribers synchronously. |
void |
subscribe(TransactionSubscriber subscriber,
long initialTransaction)
Updates the given subscriber with all transactions published since initialTransaction, returns and continues publishing all future transactions to him. |
Method Detail |
---|
void subscribe(TransactionSubscriber subscriber, long initialTransaction) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
void cancelSubscription(TransactionSubscriber subscriber)
void publish(Capsule capsule)
Clock clock()
void close() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |