Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*
* An EVCache app can also be initialized by Injecting
* <code>EVCacheClientPoolManager</code> and calling <code>
* initEVCache(<app name>)

Check failure on line 42 in evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPoolManager.java

View workflow job for this annotation

GitHub Actions / CI with Java 8

unknown tag: app
* </code>
*
* This typically should be done in the client libraries that need to initialize
Expand Down Expand Up @@ -142,7 +142,7 @@
}

/**
* @deprecated. Please use DependencyInjection (@Inject) to obtain

Check failure on line 145 in evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPoolManager.java

View workflow job for this annotation

GitHub Actions / CI with Java 8

unknown tag: deprecated.
* {@link EVCacheClientPoolManager}. The use of this can result in
* unintended behavior where you will not be able to talk to evcache
* instances.
Expand All @@ -152,8 +152,9 @@
if (instance == null) {
new EVCacheClientPoolManager(new ConnectionFactoryBuilder(), new SimpleNodeListProvider(), EVCacheConfig.getInstance());
if (!EVCacheConfig.getInstance().getPropertyRepository().get("evcache.use.simple.node.list.provider", Boolean.class).orElse(false).get()) {
if(log.isDebugEnabled()) log.debug("Please make sure EVCacheClientPoolManager is injected first. This is not the appropriate way to init EVCacheClientPoolManager."
+ " If you are using simple node list provider please set evcache.use.simple.node.list.provider property to true.", new Exception());
if(log.isWarnEnabled()) log.warn("Created a fallback EVCacheClientPoolManager because no manager was initialized."
+ " Inject EVCache.Builder or pass the injected manager to EVCache.Builder.setPoolManager(...)."
+ " If SimpleNodeListProvider is intentional, set evcache.use.simple.node.list.provider=true.", new Exception());
}
}
return instance;
Expand Down Expand Up @@ -204,7 +205,7 @@
* @param _app
* - name of the evcache app
* @return the Pool for the give app.
* @throws IOException

Check failure on line 208 in evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPoolManager.java

View workflow job for this annotation

GitHub Actions / CI with Java 8

exception not thrown: java.io.IOException
*/
public EVCacheClientPool getEVCacheClientPool(String _app) {
final String app = getAppName(_app);
Expand Down
Loading