org.rhq.helpers.perftest.support
Interface Output

All Known Implementing Classes:
CsvOutput, XmlOutput, ZippedCsvOutput, ZippedXmlOutput

public interface Output

Implementations of this interface wrap the IDataSetConsumer instances and are able to close the system resources when the consumer instance is no longer needed.

Author:
Lukas Krejci

Method Summary
 void close()
          Closes any system resources that were used by the consumer.
 org.dbunit.dataset.stream.IDataSetConsumer getConsumer()
          The returned consumer is assumed to consume a data set and produce some kind of output (the specification of which is left for the subclasses to define).
 

Method Detail

getConsumer

org.dbunit.dataset.stream.IDataSetConsumer getConsumer()
                                                       throws Exception
The returned consumer is assumed to consume a data set and produce some kind of output (the specification of which is left for the subclasses to define).

Returns:
the dbUnit data set consumer
Throws:
Exception

close

void close()
           throws IOException
Closes any system resources that were used by the consumer.

Throws:
IOException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.