Package nl.knaw.dans.layerstore
Class DirectLayerArchiver
java.lang.Object
nl.knaw.dans.layerstore.DirectLayerArchiver
- All Implemented Interfaces:
LayerArchiver
A
LayerArchiver that archives layers directly (synchronously), not performing any consistency checks.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DirectLayerArchiver
public DirectLayerArchiver()
-
-
Method Details
-
archive
Description copied from interface:LayerArchiverArchives the specified layer.Implementations must invoke the action exactly once, synchronously or asynchronously.
- Specified by:
archivein interfaceLayerArchiver- Parameters:
layerId- the id of the layer to archivearchiveAction- the action that performs the archiving
-