Class StoragePluginURLParser

java.lang.Object
org.epics.archiverappliance.config.StoragePluginURLParser

public class StoragePluginURLParser extends Object
Parses a URL representation of a storage plugin. Storage plugins can optionally implement ETLSource, ETLDest and perhaps other interfaces. This is one stop shopping for initializing all of these from a URL representation. For example, pb://localhost?name=LTS&rootFolder=${ARCHAPPL_LONG_TERM_FOLDER}&partitionGranularity=PARTITION_YEAR will initialize a PlainStoragePlugin.
  1. The pb prefix initializes PlainStoragePlugin.
  2. The pbraw prefix initializes PBOverHTTPStoragePlugin.
  3. The blackhole prefix initializes BlackholeStoragePlugin.
  4. The rtree prefix initializes ChannelArchiverReadOnlyPlugin.
Author:
mshankar