Change Apache Geode/Pivotal GemFire 'log-level' to 'error'.

Fix compiler warnings.

Fix Javadoc warnings.
This commit is contained in:
John Blum
2018-04-30 18:11:16 -07:00
parent cfcca3115a
commit f44ae0c586
12 changed files with 18 additions and 24 deletions

View File

@@ -73,11 +73,12 @@ public class Application {
SpringApplication.run(Application.class, args);
}
@ClientCacheApplication(name = "SpringSessionDataGeodeClientWithScopedProxiesBootSample",
@ClientCacheApplication(name = "SpringSessionDataGeodeClientWithScopedProxiesBootSample", logLevel = "error",
pingInterval = 5000L, readTimeout = 15000, retryAttempts = 1, subscriptionEnabled = true) // <3>
@EnableGemFireHttpSession(poolName = "DEFAULT") // <4>
static class ClientCacheConfiguration {
// Required to resolve property placeholders in Spring @Value annotations.
@Bean
static PropertySourcesPlaceholderConfigurer propertyPlaceholderConfigurer() {
return new PropertySourcesPlaceholderConfigurer();

View File

@@ -41,7 +41,7 @@ import org.springframework.session.data.gemfire.config.annotation.web.http.Enabl
@SuppressWarnings("unused")
// tag::class[]
@SpringBootApplication // <1>
@CacheServerApplication(name = "SpringSessionDataGeodeServerWithScopedProxiesBootSample") // <2>
@CacheServerApplication(name = "SpringSessionDataGeodeServerWithScopedProxiesBootSample", logLevel = "error") // <2>
@EnableGemFireHttpSession(maxInactiveIntervalInSeconds = 10) // <3>
@EnableManager(start = true) // <4>
public class GemFireServer {
@@ -54,6 +54,7 @@ public class GemFireServer {
.run(args);
}
// Required to resolve property placeholders in Spring @Value annotations.
@Bean
static PropertySourcesPlaceholderConfigurer propertyPlaceholderConfigurer() {
return new PropertySourcesPlaceholderConfigurer();