class RedisServerRepository implements ServerRepository {

    @Override
    public <T> void set(String serverName, ServerFieldType type, T value) {
        redisTransactions.runTransaction(jedis -> {
            jedis.hset(this.redisHashName(serverName), type.getFieldName(), value.toString());
        });
    }

}