Package org.apache.ignite.dump

## Class DumpReader

- java.lang.Object
- - org.apache.ignite.dump.DumpReader

- All Implemented Interfaces:
    `Runnable`

      public class DumpReader
      extends Object
      implements Runnable

  Dump Reader application. The application runs independently of Ignite node process and provides the ability to the `DumpConsumer` to consume all data stored in cache dump (`Dump`)

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DumpReader​(DumpReaderConfiguration cfg, IgniteLogger log)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<org.apache.ignite.internal.processors.cache.persistence.snapshot.SnapshotMetadata>` | `metadata​(File dumpDir)` |
    `void` | `run()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DumpReader

          public DumpReader​(DumpReaderConfiguration cfg,
                            IgniteLogger log)

      Parameters:
        `cfg` - Dump reader configuration.
        `log` - Logger.

  - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

    - #### metadata

          public static List<org.apache.ignite.internal.processors.cache.persistence.snapshot.SnapshotMetadata> metadata​(File dumpDir)

      Parameters:
        `dumpDir` - Dump root directory.
      Returns:
        List of snapshot metadata saved in `#dumpDir`.