protected long getLong(final String key) {
        if (getProperty(key) == null) throw new RuntimeException("long key not found in configuration: " + key);
        return Long.parseLong(getProperty(key));
    }