org.openmdx.base.stream.rmi.spi
Interface StreamSynchronization_1_1

All Superinterfaces:
StreamSynchronization_1_0, Synchronization_1_0

public interface StreamSynchronization_1_1
extends StreamSynchronization_1_0

Stream Synchronization Interface


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.stream.rmi.spi.StreamSynchronization_1_0
StreamSynchronization_1_0.SinkEntry, StreamSynchronization_1_0.SourceEntry
 
Method Summary
 StreamSynchronization_1_0.SourceEntry add(InputStream nonTransactionalSource)
          Create a source entry
 StreamSynchronization_1_0.SinkEntry add(OutputStream nonTransactionalSink)
          Create a sink entry
 StreamSynchronization_1_0.SourceEntry add(Reader nonTransactionalSource)
          Create a source entry
 StreamSynchronization_1_0.SinkEntry add(Writer nonTransactionalSink)
          Create a sink entry
 
Methods inherited from interface org.openmdx.base.stream.rmi.spi.StreamSynchronization_1_0
add, add
 
Methods inherited from interface org.openmdx.base.transaction.Synchronization_1_0
afterBegin, afterCompletion, beforeCompletion
 

Method Detail

add

StreamSynchronization_1_0.SourceEntry add(InputStream nonTransactionalSource)
                                          throws IOException
Create a source entry

The source will be copied to the cache before the unit of work starts.

Parameters:
nonTransactionalSource -
Throws:
IOException

add

StreamSynchronization_1_0.SourceEntry add(Reader nonTransactionalSource)
                                          throws IOException
Create a source entry

The source will be copied to the cache before the unit of work starts.

Parameters:
nonTransactionalSource -
Throws:
IOException

add

StreamSynchronization_1_0.SinkEntry add(OutputStream nonTransactionalSink)
                                        throws IOException
Create a sink entry

The sink will be flushed after the unit of work's commitment.

Parameters:
nonTransactionalSink -
Throws:
IOException

add

StreamSynchronization_1_0.SinkEntry add(Writer nonTransactionalSink)
                                        throws IOException
Create a sink entry

The sink will be flushed after the unit of work's commitment.

Parameters:
nonTransactionalSink -
Throws:
IOException


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.