org.apache.excalibur.event.impl
Class LossyMultiCastSink.DefaultPreparedEnqueue

java.lang.Object
  extended by org.apache.excalibur.event.impl.LossyMultiCastSink.DefaultPreparedEnqueue
All Implemented Interfaces:
org.apache.excalibur.event.PreparedEnqueue
Enclosing class:
LossyMultiCastSink

private static final class LossyMultiCastSink.DefaultPreparedEnqueue
extends java.lang.Object
implements org.apache.excalibur.event.PreparedEnqueue

A prepared enqueue object that holds other prepared enqueue objects and allows to perform a commit / abort on all of these objects.

Since:
May 16, 2002
Author:
Avalon Development Team

Field Summary
private  java.util.Collection m_preparedEnqueues
          A collection of prepared enqueue objects
 
Constructor Summary
private LossyMultiCastSink.DefaultPreparedEnqueue()
           
 
Method Summary
 void abort()
           
 void addPreparedEnqueue(org.apache.excalibur.event.PreparedEnqueue preparedEnqueue)
          Adds a prepared enqueue object to the list of prepared enqueues.
 void commit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_preparedEnqueues

private final java.util.Collection m_preparedEnqueues
A collection of prepared enqueue objects

Constructor Detail

LossyMultiCastSink.DefaultPreparedEnqueue

private LossyMultiCastSink.DefaultPreparedEnqueue()
Method Detail

abort

public void abort()
Specified by:
abort in interface org.apache.excalibur.event.PreparedEnqueue
See Also:
PreparedEnqueue.abort()

commit

public void commit()
Specified by:
commit in interface org.apache.excalibur.event.PreparedEnqueue
See Also:
PreparedEnqueue.commit()

addPreparedEnqueue

public void addPreparedEnqueue(org.apache.excalibur.event.PreparedEnqueue preparedEnqueue)
Adds a prepared enqueue object to the list of prepared enqueues.

Parameters:
preparedEnqueue - The prepared enqueue object to be added.
Since:
May 16, 2002