Last active
January 21, 2018 17:42
-
-
Save dnno/876545ac973970aa27b257cb6a57584f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Configuration getCacheManagerConfiguration() { | |
ConfigurationBuilder configBuilder = new ConfigurationBuilder() | |
.addServers(getHotrodEndpointConnectionString()) | |
.version(getProtocolVersion()); | |
getTransportFactory().ifPresent(transportFactory -> { | |
configBuilder.transportFactory(transportFactory); | |
}); | |
return configBuilder.build(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment