Class RemoteFunctionCache
java.lang.Object
com.sap.cloud.sdk.s4hana.connectivity.rfc.RemoteFunctionCache
Deprecated.
This module will be discontinued, along with its classes and methods.
Provides access to the Remote Function Cache and allows clearing it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearCache(Destination destination) Deprecated.Clears the remote function cache for a givenDestination.static voidclearCache(Destination destination, String functionName) Deprecated.Clears the remote function cache for a givenDestinationand a given function name.
-
Constructor Details
-
RemoteFunctionCache
public RemoteFunctionCache()Deprecated.
-
-
Method Details
-
clearCache
Deprecated.Clears the remote function cache for a givenDestination. If theDestinationis of typeHttpDestination, nothing is done because no cache exists. If theDestinationis of typeRfcDestination, the relatedJCoRepositoryis cleared.- Parameters:
destination- The destination for which the cache should be cleared- Throws:
RemoteFunctionException- In case an error occured during clearing the cache.
-
clearCache
public static void clearCache(@Nonnull Destination destination, @Nonnull String functionName) throws RemoteFunctionException Deprecated.Clears the remote function cache for a givenDestinationand a given function name. If theDestinationis of typeHttpDestination, nothing is done because no cache exists. If theDestinationis of typeRfcDestination, the relatedJCoRepositoryis cleared.- Parameters:
destination- The destination for which the cache should be clearedfunctionName- The function name for which the cache should be cleared- Throws:
RemoteFunctionException- In case an error occured during clearing the cache.
-