Returns the default options for this the aggregator service.

@return The default options.
767275
protected Properties initDefaultOptions() {
		Properties defaultValues = new Properties();
		defaultValues.putAll(defaults);

		// See if there's an aggregator.properties in the class loader's root
		ClassLoader cl = OptionsImpl.class.getClassLoader();
		URL url = cl.getResource(getPropsFilename());
		if (url != null) {
			loadFromUrl(defaultValues, url);
		}

		// If the bundle defines properties, then load those too
		if(aggregator != null){
			url = aggregator.getPlatformServices().getResource(getPropsFilename());
			if (url != null) {
				loadFromUrl(defaultValues, url);
			}
		}
		Map<String, String> map = new HashMap<String, String>();
		for (String name : defaultValues.stringPropertyNames()) {
			map.put(name, (String)defaultValues.getProperty(name));
		}
		defaultOptionsMap = Collections.unmodifiableMap(map);

		return defaultValues;
	}
510603
public EnumSet<ParseOption> getDefaultParseOptions() {
        if (_parseAllStyles && _parseTZDBNames) {
            return EnumSet.of(ParseOption.ALL_STYLES, ParseOption.TZ_DATABASE_ABBREVIATIONS);
        } else if (_parseAllStyles) {
            return EnumSet.of(ParseOption.ALL_STYLES);
        } else if (_parseTZDBNames) {
            return EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS);
        }
        return EnumSet.noneOf(ParseOption.class);
    }
180734
@Override
	public Options getOptions() {
		Options opts = super.getOptions();
		opts.addOption(null, "name", true, "tenant name");
		opts.addOption(null, "description", true, "tenant description");
		opts.addOption(null, "enabled", false, "enabled");
		return opts;
	}
68036
public java.util.List<InventoryAggregator> getAggregators() {
        if (aggregators == null) {
            aggregators = new com.amazonaws.internal.SdkInternalList<InventoryAggregator>();
        }
        return aggregators;
    }
829770
public alluxio.grpc.CheckConsistencyPOptions getOptions() {
    return options_ == null ? alluxio.grpc.CheckConsistencyPOptions.getDefaultInstance() : options_;
  }
292101
@Override
  protected Options getOptions() {
    final Options options = super.getOptions();

    final Option filenameOption =
        new Option("f", "the name of the csv output file, default name is " + DEFAULT_FILENAME
            + " [optional]");
    filenameOption.setArgName("FILENAME");
    filenameOption.setLongOpt("filename");
    filenameOption.setRequired(false);
    filenameOption.setArgs(1);

    options.addOption(filenameOption);

    return options;

  }
953362
public alluxio.grpc.RegisterWorkerPOptions getOptions() {
    return options_ == null ? alluxio.grpc.RegisterWorkerPOptions.getDefaultInstance() : options_;
  }
1161442
@Override
    public Map<String, String> createDefaultOptions() {
        HashMap<String, String> ret = new HashMap<String, String>();
        // Add any default options needed here (like path to default properties)

        ret.put("client", "client.properties");

        return ret;
    }
574588
public alluxio.grpc.RegisterWorkerPOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.RegisterWorkerPOptions.getDefaultInstance() : options_;
  }
166476
public alluxio.grpc.GetBlockInfoPOptions getOptions() {
    return options_ == null ? alluxio.grpc.GetBlockInfoPOptions.getDefaultInstance() : options_;
  }
1103563
public DBOptions getDbOptions() {
		// initial options from pre-defined profile
		DBOptions opt = getPredefinedOptions().createDBOptions();

		// add user-defined options factory, if specified
		if (optionsFactory != null) {
			opt = optionsFactory.createDBOptions(opt);
		}

		// add necessary default options
		opt = opt.setCreateIfMissing(true);

		return opt;
	}
1093835
public alluxio.grpc.RunPOptions getOptions() {
    return options_ == null ? alluxio.grpc.RunPOptions.getDefaultInstance() : options_;
  }
1201910
public java.util.List<String> getConfigurationAggregatorNames() {
        if (configurationAggregatorNames == null) {
            configurationAggregatorNames = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return configurationAggregatorNames;
    }
515255
public alluxio.grpc.StartSyncPOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.StartSyncPOptions.getDefaultInstance() : options_;
  }
966466
public static Option[] getCommonOptions() {
    return new Option[] {
      Option.builder()
              .hasArg()
              .required(false)
              .desc("Batch interval (seconds) for streaming applications; default is 1 second")
              .longOpt("batchInterval")
              .build(),
      Option.builder()
              .hasArg()
              .required(false)
              .desc("The master URL to connect to, such as \"local\" to run locally with one thread, \"local[4]\" to run locally with 4 cores, or \"spark://master:7077\" to run on a Spark standalone cluster.")
              .longOpt("master")
              .build(),
      Option.builder()
              .hasArg()
              .required(false)
              .desc("Address of the Zookeeper ensemble; defaults to: localhost:9983")
              .longOpt("zkHost")
              .build(),
      Option.builder()
              .hasArg()
              .required(false)
              .desc("Name of collection; no default")
              .longOpt("collection")
              .build(),
      Option.builder()
              .hasArg()
              .required(false)
              .desc("Number of docs to queue up on the client before sending to Solr; default is 10")
              .longOpt("batchSize")
              .build(),
      Option.builder()
              .hasArg()
              .required(false)
              .desc("For authenticating to Solr using JAAS, sets the '" + LOGIN_CONFIG_PROP + "' system property.")
              .longOpt("solrJaasAuthConfig")
              .build(),
      Option.builder()
              .hasArg()
              .required(false)
              .desc("For authenticating to Solr using JAAS, sets the 'solr.kerberos.jaas.appname' system property; default is Client")
              .longOpt("solrJaasAppName")
              .build()
    };
  }
289613
Future<AggregatorConfiguration> getAggregationConfiguration() {
        return new HAConfFuture<>(invokeSubServiceConfUpdates(),
                new HAConfFuture.ConfResultSupplier<ConsolidatedResult<AggregatorConfiguration>>() {
                    public ConsolidatedResult<AggregatorConfiguration> get() {
                        return lastConsolidatedConfiguration;
                    }
                });
    }
775848
public alluxio.grpc.MasterHeartbeatPOptions getOptions() {
    return options_ == null ? alluxio.grpc.MasterHeartbeatPOptions.getDefaultInstance() : options_;
  }