public interface ClientFactory
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Remove all clients from the cache
|
<T> T |
client(java.lang.String cacheKey,
java.lang.Class<T> clientType,
java.util.Map<java.lang.String,java.lang.String> clientConfig)
Generates a client proxy for the given client type
|
void |
inValidateCache(java.lang.String key)
Invalidate the cache for the given key
|
<T> T client(java.lang.String cacheKey,
java.lang.Class<T> clientType,
java.util.Map<java.lang.String,java.lang.String> clientConfig)
T - the type of the clientcacheKey - the id of the clientclientType - the class of client typeclientConfig - the map consist of configurations of clientvoid inValidateCache(java.lang.String key)
key - the key of clientvoid clearCache()
Copyright © 2018 SAP SE. All Rights Reserved.