private ClusterWrapper cluster;
private Configuration configuration;
private DatastoreContextFactory datastoreContextFactory;
- private CountDownLatch waitTillReadyCountdownLatch;
+ private CountDownLatch waitTillReadyCountDownLatch;
private PrimaryShardInfoFutureCache primaryShardInfoCache;
private DatastoreSnapshot restoreFromSnapshot;
private volatile boolean sealed;
return cluster;
}
- public T cluster(ClusterWrapper cluster) {
+ public T cluster(ClusterWrapper newCluster) {
checkSealed();
- this.cluster = cluster;
+ this.cluster = newCluster;
return self();
}
return configuration;
}
- public T configuration(Configuration configuration) {
+ public T configuration(Configuration newConfiguration) {
checkSealed();
- this.configuration = configuration;
+ this.configuration = newConfiguration;
return self();
}
- DatastoreContextFactory getDdatastoreContextFactory() {
+ DatastoreContextFactory getDatastoreContextFactory() {
return datastoreContextFactory;
}
- public T datastoreContextFactory(DatastoreContextFactory datastoreContextFactory) {
+ public T datastoreContextFactory(DatastoreContextFactory newDatastoreContextFactory) {
checkSealed();
- this.datastoreContextFactory = datastoreContextFactory;
+ this.datastoreContextFactory = newDatastoreContextFactory;
return self();
}
- CountDownLatch getWaitTillReadyCountdownLatch() {
- return waitTillReadyCountdownLatch;
+ CountDownLatch getWaitTillReadyCountDownLatch() {
+ return waitTillReadyCountDownLatch;
}
- public T waitTillReadyCountdownLatch(CountDownLatch waitTillReadyCountdownLatch) {
+ public T waitTillReadyCountDownLatch(CountDownLatch newWaitTillReadyCountDownLatch) {
checkSealed();
- this.waitTillReadyCountdownLatch = waitTillReadyCountdownLatch;
+ this.waitTillReadyCountDownLatch = newWaitTillReadyCountDownLatch;
return self();
}
return primaryShardInfoCache;
}
- public T primaryShardInfoCache(PrimaryShardInfoFutureCache primaryShardInfoCache) {
+ public T primaryShardInfoCache(PrimaryShardInfoFutureCache newPrimaryShardInfoCache) {
checkSealed();
- this.primaryShardInfoCache = primaryShardInfoCache;
+ this.primaryShardInfoCache = newPrimaryShardInfoCache;
return self();
}
return restoreFromSnapshot;
}
- public T restoreFromSnapshot(DatastoreSnapshot restoreFromSnapshot) {
+ public T restoreFromSnapshot(DatastoreSnapshot newRestoreFromSnapshot) {
checkSealed();
- this.restoreFromSnapshot = restoreFromSnapshot;
+ this.restoreFromSnapshot = newRestoreFromSnapshot;
return self();
}
Preconditions.checkNotNull(cluster, "cluster should not be null");
Preconditions.checkNotNull(configuration, "configuration should not be null");
Preconditions.checkNotNull(datastoreContextFactory, "datastoreContextFactory should not be null");
- Preconditions.checkNotNull(waitTillReadyCountdownLatch, "waitTillReadyCountdownLatch should not be null");
+ Preconditions.checkNotNull(waitTillReadyCountDownLatch, "waitTillReadyCountdownLatch should not be null");
Preconditions.checkNotNull(primaryShardInfoCache, "primaryShardInfoCache should not be null");
}
verify();
return Props.create(ShardManager.class, this);
}
-}
\ No newline at end of file
+}