package ibis.impl.tcp;

import ibis.util.TypedProperties;

interface Config {
    static final String PROPERTY_PREFIX = "ibis.tcp.";
    static final String s_debug = PROPERTY_PREFIX + "debug";
    static final String s_stats = PROPERTY_PREFIX + "stats";
    static final String s_asserts = PROPERTY_PREFIX + "asserts";
    static final String s_cache = PROPERTY_PREFIX + "cache";

    static final boolean DEBUG = TypedProperties.booleanProperty(s_debug);
    static final boolean STATS = TypedProperties.booleanProperty(s_stats, true);
    static final boolean ASSERTS = TypedProperties.booleanProperty(s_asserts);
    static final boolean CONNECTION_CACHE = TypedProperties.booleanProperty(s_cache, true);

    static final String[] sysprops = {
	s_debug,
	s_stats,
	s_asserts,
	s_cache
    };
}

package ibis.impl.tcp;

import ibis.util.TypedProperties;

interface Config {
    static final String PROPERTY_PREFIX = "ibis.tcp.";
    static final String s_debug = PROPERTY_PREFIX + "debug";
    static final String s_stats = PROPERTY_PREFIX + "stats";
    static final String s_asserts = PROPERTY_PREFIX + "asserts";
    static final String s_cache = PROPERTY_PREFIX + "cache";

    static final boolean DEBUG = TypedProperties.booleanProperty(s_debug);
    static final boolean STATS = TypedProperties.booleanProperty(s_stats);
    static final boolean ASSERTS = TypedProperties.booleanProperty(s_asserts);
    static final boolean CONNECTION_CACHE = TypedProperties.booleanProperty(s_cache, true);

    static final String[] sysprops = {
	s_debug,
	s_stats,
	s_asserts,
	s_cache
    };
}

--- 
+++ 
@@ -10,7 +10,7 @@
     static final String s_cache = PROPERTY_PREFIX + "cache";
 
     static final boolean DEBUG = TypedProperties.booleanProperty(s_debug);
-    static final boolean STATS = TypedProperties.booleanProperty(s_stats);
+    static final boolean STATS = TypedProperties.booleanProperty(s_stats, true);
     static final boolean ASSERTS = TypedProperties.booleanProperty(s_asserts);
     static final boolean CONNECTION_CACHE = TypedProperties.booleanProperty(s_cache, true);
 
Set default for STATS to true to get byte counts for messages


git-svn-id: f22e84ca493ccad7df8d2727bca69d1c9fc2e5c5@2714 aaf88347-d911-0410-b711-e54d386773bb
