Package org.apache.roller.business

Examples of org.apache.roller.business.HitCountQueue


    /**
     * Notify the hit tracker that it has an incoming page hit.
     */
    private void processHit(WebsiteData weblog, String url, String referrer) {
       
        HitCountQueue counter = HitCountQueue.getInstance();
        counter.processHit(weblog, url, referrer);
    }
View Full Code Here


            // if we can't even get the manager instances then bail now
            log.error("Error getting managers", ex);
            return;
        }
       
        HitCountQueue hitCounter = HitCountQueue.getInstance();
       
        // first get the current set of hits
        List currentHits = hitCounter.getHits();
       
        // now reset the queued hits
        hitCounter.resetHits();
       
        // tally the counts, grouped by weblog handle
        Map hitsTally = new HashMap();
        String weblogHandle = null;
        for(int i=0; i < currentHits.size(); i++) {
View Full Code Here

TOP

Related Classes of org.apache.roller.business.HitCountQueue

Copyright © 2018 www.massapicom. 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.