segStore: Add a close method to ISegmentStore
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Tue, 17 May 2016 14:21:38 +0000 (10:21 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Wed, 18 May 2016 15:16:39 +0000 (11:16 -0400)
commita05d1af8e1ec19bcff770b7256bfe32e5088a3fe
tree67949cd813b018a5ec101425876c73f929fc2ff0
parentf95c93454d70abf864521c8b9415528f45da30bc
segStore: Add a close method to ISegmentStore

This method will close the segment store backend at the end of the analysis or
delete the files that were created if the analysis did not create correctly.

This method will be useful when there is multiple segment store backends, so
that each one can take care of its own saving actions and cleanup.

Change-Id: I7c2bd4c21b9141b0b4f0f3eed2495895299d3dc8
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/72931
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.timing.core/src/org/eclipse/tracecompass/analysis/timing/core/segmentstore/AbstractSegmentStoreAnalysisEventBasedModule.java
analysis/org.eclipse.tracecompass.analysis.timing.core/src/org/eclipse/tracecompass/analysis/timing/core/segmentstore/AbstractSegmentStoreAnalysisModule.java
statesystem/org.eclipse.tracecompass.segmentstore.core/src/org/eclipse/tracecompass/segmentstore/core/ISegmentStore.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/pattern/stateprovider/XmlPatternSegmentStoreModule.java
This page took 0.025271 seconds and 5 git commands to generate.