org.rhq.enterprise.server.plugin.pc.content.sync
Class DistributionSourceSynchronizer

java.lang.Object
  extended by org.rhq.enterprise.server.plugin.pc.content.sync.DistributionSourceSynchronizer

public class DistributionSourceSynchronizer
extends Object

Holds the methods necessary to interact with a plugin and execute its distribution related synchronization tasks.

Author:
Jason Dobies

Constructor Summary
DistributionSourceSynchronizer(org.rhq.core.domain.content.Repo repo, org.rhq.core.domain.content.ContentSource source, ContentProvider provider)
           
 
Method Summary
 SyncTracker synchronizeDistributionBits(SyncTracker tracker)
           
 SyncTracker synchronizeDistributionMetadata(SyncTracker tracker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributionSourceSynchronizer

public DistributionSourceSynchronizer(org.rhq.core.domain.content.Repo repo,
                                      org.rhq.core.domain.content.ContentSource source,
                                      ContentProvider provider)
Method Detail

synchronizeDistributionMetadata

public SyncTracker synchronizeDistributionMetadata(SyncTracker tracker)
                                            throws SyncException,
                                                   InterruptedException
Throws:
SyncException
InterruptedException

synchronizeDistributionBits

public SyncTracker synchronizeDistributionBits(SyncTracker tracker)
                                        throws SyncException,
                                               InterruptedException
Throws:
SyncException
InterruptedException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.