Package gov.usgs.earthquake.dyfi
Class DYFIIndexerWedge
- All Implemented Interfaces:
NotificationIndexCleanup.Listener
,NotificationListener
,Configurable
Deprecated.
Legacy interface to trigger pre-Indexer ShakeMap processing.
-
Field Summary
FieldsFields inherited from class gov.usgs.earthquake.distribution.ExternalNotificationListener
COMMAND_PROPERTY, SIGNATURE_ARGUMENT, STORAGE_NAME_PROPERTY
Fields inherited from class gov.usgs.earthquake.distribution.DefaultNotificationListener
CLEANUP_INTERVAL_PROPERTY, CONCURRENT_PRODUCTS_PROPERTY, DEFAULT_CLEANUP_INTERVAL, DEFAULT_CONCURRENT_PRODUCTS, DEFAULT_PROCESS_DUPLICATES, EXCLUDE_PATHS_PROPERTY, INCLUDE_PATHS_PROPERTY, INDEX_FILE_PROPERTY, NOTIFICATION_INDEX_PROPERTY, PROCESS_DUPLICATES
Fields inherited from class gov.usgs.earthquake.product.AbstractListener
ATTEMPT_COUNT_PROPERTY, DEFAULT_ATTEMPT_COUNT, DEFAULT_RETRY_DELAY, DEFAULT_TIMEOUT, EXCLUDE_SOURCES_PROPERTY, EXCLUDE_TYPES_PROPERTY, INCLUDE_ACTUALS_PROPERTY, INCLUDE_DEVELOPMENTS_PROPERTY, INCLUDE_INTERNALS_PROPERTY, INCLUDE_SCENARIOS_PROPERTY, INCLUDE_SOURCES_PROPERTY, INCLUDE_TESTS_PROPERTY, INCLUDE_TYPES_PROPERTY, MAX_TRIES_PROPERTY, RETRY_DELAY_PROPERTY, TIMEOUT_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Configure an ExternalNotificationListener using a Config object.getProductCommand
(Product product) Deprecated.Builds the command to index the product.Methods inherited from class gov.usgs.earthquake.distribution.ExternalNotificationListener
commandComplete, commandException, getCommand, getStorage, onProduct, setCommand, setStorage, shutdown, splitCommand, startup
Methods inherited from class gov.usgs.earthquake.distribution.DefaultNotificationListener
cleanup, getCleanupInterval, getConcurrentProducts, getExcludePaths, getIncludePaths, getNotificationIndex, isProcessDuplicates, onAfterProcessNotification, onBeforeProcessNotification, onBeforeProcessProduct, onExpiredNotification, onNotification, setCleanupInterval, setConcurrentProducts, setNotificationIndex, setProcessDuplicates
Methods inherited from class gov.usgs.earthquake.product.AbstractListener
accept, getExcludeSources, getExcludeTypes, getIncludeSources, getIncludeTypes, getMaxTries, getRetryDelay, getTimeout, isIncludeActuals, isIncludeDevelopments, isIncludeInternals, isIncludeScenarios, isIncludeTests, setIncludeActuals, setIncludeDevelopments, setIncludeInternals, setIncludeScenarios, setIncludeTests, setMaxTries, setRetryDelay, setTimeout
Methods inherited from class gov.usgs.util.DefaultConfigurable
getName, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gov.usgs.util.Configurable
getName, setName
Methods inherited from interface gov.usgs.earthquake.distribution.NotificationListener
getMaxTries, getTimeout
-
Field Details
-
BASE_DIRECTORY_PROPERTY
Deprecated.Property for baseDirectory- See Also:
-
-
Constructor Details
-
DYFIIndexerWedge
public DYFIIndexerWedge()Deprecated.Constructor
-
-
Method Details
-
getProductCommand
Deprecated.Builds the command to index the product. Just appends the relative product directory (from the DYFILegacyStorage) to the configured index command.- Overrides:
getProductCommand
in classExternalNotificationListener
- Parameters:
product
- the Product used to build the indexing command.- Returns:
- command as a string.
- Throws:
Exception
- if error occurs
-
configure
Deprecated.Description copied from class:ExternalNotificationListener
Configure an ExternalNotificationListener using a Config object.- Specified by:
configure
in interfaceConfigurable
- Overrides:
configure
in classExternalNotificationListener
- Parameters:
config
- the config containing a- Throws:
Exception
- if configuration exceptions occur.
-