Package fr.ippon.tatami.domain

Examples of fr.ippon.tatami.domain.UserStatusStat


        cal.set(2012, 04, 19);
        Collection<UserStatusStat> stats = statsService.getDayline(cal.getTime());
        assertThat(stats, notNullValue());
        assertThat(stats.size(), is(1));

        UserStatusStat userStat = (UserStatusStat) stats.toArray()[0];
        assertThat(userStat.getUsername(), is("userWithStatus"));
        assertThat(userStat.getStatusCount(), is(1L));
    }
View Full Code Here


                .setKey(key);

        CounterSlice<String> queryResult = query.execute().get();

        for (HCounterColumn<String> column : queryResult.getColumns()) {
            UserStatusStat stat = new UserStatusStat(column.getName(), column.getValue());
            results.add(stat);
        }
        return results;
    }
View Full Code Here

TOP

Related Classes of fr.ippon.tatami.domain.UserStatusStat

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.