use of io.mesosphere.mesos.frameworks.cassandra.CassandraFrameworkProtos.CassandraFrameworkConfiguration in project cassandra-mesos-deprecated by mesosphere.
the class SeedManager method updateDcSeeds.
private void updateDcSeeds(@NotNull final ExternalDc dc, @NotNull final List<String> seeds) {
int idx = externalDcIdx(dc.getName());
ExternalDc newDc = ExternalDc.newBuilder(dc).clearSeeds().addAllSeeds(seeds).setSeedFetchTime(clock.now().getMillis()).build();
CassandraFrameworkConfiguration config = CassandraFrameworkConfiguration.newBuilder(configuration.get()).setExternalDcs(idx, newDc).build();
configuration.setValue(config);
}
Aggregations