Package org.apache.maven.archiva.discoverer

Examples of org.apache.maven.archiva.discoverer.DiscovererStatistics.load()


            ArtifactRepository repository = (ArtifactRepository) i.next();

            DiscovererStatistics stats = new DiscovererStatistics( repository );
            try
            {
                stats.load( DataRefreshExecutor.DATAREFRESH_FILE );
                if ( stats.getTimestampFinished() > lastDataRefreshTime )
                {
                    lastDataRefreshTime = stats.getTimestampFinished();
                }
            }
View Full Code Here


            List filteredConsumers = filterConsumers( consumers, repository );

            DiscovererStatistics lastRunStats = new DiscovererStatistics( repository );
            try
            {
                lastRunStats.load( DATAREFRESH_FILE );
            }
            catch ( IOException e )
            {
                getLogger().info(
                                  "Unable to load last run statistics for repository [" + repository.getId() + "]: "
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.