CounterDataLoggerMongo

public class CounterDataLoggerMongo implements CounterDataLoggerRepositoryIfc<MongoDataSource>
Author:Wojciech Kapcia

Methods

addStatsLogEntry

public void addStatsLogEntry(String hostname, float cpu_usage, float mem_usage, long uptime, int vhosts, long sm_packets, long muc_packets, long pubsub_packets, long c2s_packets, long ws2s_packets, long s2s_packets, long ext_packets, long presences, long messages, long iqs, long registered, int c2s_conns, int ws2s_conns, int bosh_conns, int s2s_conns, int sm_sessions, int sm_connections)

setDataSource

public void setDataSource(MongoDataSource dataSource)