@Service @Transactional(value="herdTransactionManager") public class Ec2OnDemandPricingUpdateServiceImpl extends Object implements Ec2OnDemandPricingUpdateService
| Constructor and Description |
|---|
Ec2OnDemandPricingUpdateServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Ec2OnDemandPricing> |
getEc2OnDemandPricing(String ec2PricingListUrl)
Retrieves EC2 on-demand pricing information from AWS.
|
void |
updateEc2OnDemandPricing(List<Ec2OnDemandPricing> ec2OnDemandPricingEntries)
Updates the EC2 on-demand pricing configured in the system per specified pricing information.
|
@Transactional(propagation=NOT_SUPPORTED) public List<Ec2OnDemandPricing> getEc2OnDemandPricing(String ec2PricingListUrl)
getEc2OnDemandPricing in interface Ec2OnDemandPricingUpdateServiceec2PricingListUrl - the URL of the Amazon EC2 pricing list in JSON format@Transactional(propagation=REQUIRES_NEW) public void updateEc2OnDemandPricing(List<Ec2OnDemandPricing> ec2OnDemandPricingEntries)
updateEc2OnDemandPricing in interface Ec2OnDemandPricingUpdateServiceec2OnDemandPricingEntries - the list of EC2 on-demand pricing entriesCopyright © 2019. All rights reserved.