Examples of ConcurrentUserAggregationKeyImpl


Examples of org.jasig.portal.events.aggr.concuser.ConcurrentUserAggregationKeyImpl

    @Override
    protected Set<ConcurrentUserAggregationKey> createAggregationsQueryKeyset(Set<ConcurrentUserAggregationDiscriminator> groups, ConcurrentUserReportForm form) {
        final AggregationInterval interval = form.getInterval();
        HashSet<ConcurrentUserAggregationKey> keys = new HashSet<ConcurrentUserAggregationKey>();
        keys.add(new ConcurrentUserAggregationKeyImpl(interval, groups.iterator().next().getAggregatedGroup()));
        return keys;
    }
View Full Code Here

Examples of org.jasig.portal.events.aggr.concuser.ConcurrentUserAggregationKeyImpl

        {
            case NOW:
                for(AggregatedGroupMapping group : concurrentUserAggregationDao.getAggregatedGroupMappings())
                {

                    ConcurrentUserAggregationKey key = new ConcurrentUserAggregationKeyImpl(interval, group);
                    final List<ConcurrentUserAggregation> aggregations = concurrentUserAggregationDao.getAggregations(begin, end, key);
                   
                    // NB:  We only care about the most recent entry (??)
                    if (aggregations.size() != 0) {
                        final ConcurrentUserAggregation aggregation = aggregations.get(0);
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.