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
    };
}

@@ -522,16 +522,22 @@
 (s_stats
+, true
 );%0A    s

Set default for STATS to true to get byte counts for messages