cloud-software-foundation / c5

c5
Apache License 2.0
12 stars 8 forks source link

Per-instance server/replicator/log configuration #272

Open joshua-g opened 10 years ago

joshua-g commented 10 years ago

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?