Package cu.ftpd.user.statistics

Examples of cu.ftpd.user.statistics.StatisticsEntry.download()


        }
    }

    public void download(String username, String section, long bytes, long time) {
        StatisticsEntry us = getUserStatistics(username, section);
        us.download(bytes, time);
        store(us);

        if (!"default".equals(section)) {
            // always add the data to the default section as well, since that keeps track of ALL the statistics
            us = getUserStatistics(username, "default");
View Full Code Here


        store(us);

        if (!"default".equals(section)) {
            // always add the data to the default section as well, since that keeps track of ALL the statistics
            us = getUserStatistics(username, "default");
            us.download(bytes, time);
            store(us);
        }
    }

    public void store(StatisticsEntry statisticsEntry) {
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.