Currently, a lot of (if not all) of c5's configurable parameters are static constants, stored in C5ServerConstants, ReplicatorConstants, and LogConstants. For instance, in LogConstants, we have
public static final int LOG_THREAD_POOL_SIZE = 1;
These should be settable by code, perhaps with defaults given in an xml or json file; maybe we could do something similar to hbase's Configuration?
Currently, a lot of (if not all) of c5's configurable parameters are static constants, stored in C5ServerConstants, ReplicatorConstants, and LogConstants. For instance, in LogConstants, we have
These should be settable by code, perhaps with defaults given in an xml or json file; maybe we could do something similar to hbase's Configuration?