Package nl.knaw.dans.layerstore
Interface LayerArchiver
public interface LayerArchiver
Interface for scheduling and executing layer archiving.
-
Method Summary
Modifier and TypeMethodDescriptionvoidarchive(long layerId, boolean overwrite) Archives the specified layer, telling the implementation whether an existing archive must be overwritten.
-
Method Details
-
archive
void archive(long layerId, boolean overwrite) Archives the specified layer, telling the implementation whether an existing archive must be overwritten.- Parameters:
layerId- the id of the layer to archiveoverwrite- whether the layer is requested to overwrite an existing archive
-