Commit 46e707e7 authored by Bc. Pavol Beňko's avatar Bc. Pavol Beňko
Browse files

final

parent c56cfa07
#Sat, 11 Apr 2015 20:22:59 +0200
#Sat, 18 Apr 2015 18:18:56 +0200
/home/esperian/NetBeansProjects/evaluatorik=
No preview for this file type
......@@ -36,7 +36,6 @@ public class JedisListener extends JedisPubSub{
case "BandwidthHistoryTrend": {
log.log(Level.INFO, "New message for module BandwidthHistoryTrend received", BandwidthHistoryTrend.getInstance().getModuleName());
BandwidthHistoryTrend.getInstance().getPoolRequest().add(new PoolRequest.Request(channel, message));
System.out.println("dfg "+message);
if(BandwidthHistoryTrend.getInstance().getState()==Thread.State.WAITING){
synchronized(BandwidthHistoryTrend.getInstance()){
BandwidthHistoryTrend.getInstance().notify();
......
......@@ -35,22 +35,21 @@ public class Config {
public static String redisPort="6379";
public static String redisPoolSize="20";
public static boolean module1=false;
public static boolean AmountOfTransferredData=false;
public static boolean BandwidthHistoryTrend=false;
public static boolean AverageOfTransferredDataPacket=false;
public static boolean MaximumDownloadUpload=false;
public static boolean AmountOfTransferredDataPacket=false;
public static boolean BandwidthHistoryTrendPacket=false;
public static boolean AverageMiniTable=false;
public static boolean HistoryTrendFlows=false;
public static boolean AverageOfTransferredData=false;
public static boolean HistoryTable=false;
public static boolean AmountMiniTable=false;
public static boolean NumberOfFlows=false;
public static boolean PingTime=false;
public static boolean TopUploader=false;
public static boolean TopDownloader=false;
public static boolean AmountOfTransferredData=true;
public static boolean BandwidthHistoryTrend=true;
public static boolean AverageOfTransferredDataPacket=true;
public static boolean MaximumDownloadUpload=true;
public static boolean AmountOfTransferredDataPacket=true;
public static boolean BandwidthHistoryTrendPacket=true;
public static boolean AverageMiniTable=true;
public static boolean HistoryTrendFlows=true;
public static boolean AverageOfTransferredData=true;
public static boolean HistoryTable=true;
public static boolean AmountMiniTable=true;
public static boolean NumberOfFlows=true;
public static boolean PingTime=true;
public static boolean TopUploader=true;
public static boolean TopDownloader=true;
public void parseXmlFile(){
Document doc;
......
......@@ -21,7 +21,7 @@ public class Evaluatorik{
*/
public static void main(String[] args) {
Config c = new Config();
c.parseXmlFile();
c.ConfigToString();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment