Package gov.usgs.earthquake.distribution
Class ProductResender
java.lang.Object
gov.usgs.earthquake.distribution.ProductResender
A utility class to (re)send an existing product to pdl hubs.
 Mainly used when one server has not received a product, in order to
 redistribute the product.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidCommand Line Interface to ProductResender.protected static voidsendProduct(ProductBuilder builder, Product product, boolean batchMode) Sends product to builder
- 
Field Details- 
SERVERS_ARGUMENTServers arguments- See Also:
 
- 
BATCH_ARGUMENTBatch arguments- See Also:
 
- 
PRIVATE_KEY_ARGUMENTPrivate Key Argument- See Also:
 
 
- 
- 
Constructor Details- 
ProductResenderpublic ProductResender()
 
- 
- 
Method Details- 
mainCommand Line Interface to ProductResender.- Parameters:
- args- CLI arguments
- Throws:
- Exception- if error occurs
 
- 
sendProductprotected static void sendProduct(ProductBuilder builder, Product product, boolean batchMode) throws Exception Sends product to builder- Parameters:
- builder- ProductBuilder
- product- Product
- batchMode- bool
- Throws:
- Exception- if error occurs
 
 
-