Interface LayerArchiver

All Known Implementing Classes:
ConsistencyCheckingAsyncLayerArchiver, DirectLayerArchiver

public interface LayerArchiver
Interface for scheduling and executing layer archiving.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    archive(long layerId, Runnable archiveAction)
    Archives the specified layer.
  • Method Details

    • archive

      void archive(long layerId, Runnable archiveAction)
      Archives the specified layer.

      Implementations must invoke the action exactly once, synchronously or asynchronously.

      Parameters:
      layerId - the id of the layer to archive
      archiveAction - the action that performs the archiving