sync/src/partition/partitionconfig.js
2016-06-09 23:42:30 -07:00

27 lines
439 B
JavaScript

class PartitionConfig {
constructor(config) {
this.config = config;
}
getPartitionMap() {
return this.config.partitions;
}
getOverrideMap() {
return this.config.overrides;
}
getPool() {
return this.config.pool;
}
getIdentity() {
return this.config.identity;
}
getRedisConfig() {
return this.config.redis;
}
}
export { PartitionConfig };