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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clearCache
(Destination destination) Deprecated.Clears the remote function cache for a givenDestination
.static void
clearCache
(Destination destination, String functionName) Deprecated.Clears the remote function cache for a givenDestination
and a given function name.
-
Constructor Details
-
RemoteFunctionCache
public RemoteFunctionCache()Deprecated.
-
-
Method Details
-
clearCache
Deprecated.Clears the remote function cache for a givenDestination
. If theDestination
is of typeHttpDestination
, nothing is done because no cache exists. If theDestination
is of typeRfcDestination
, the relatedJCoRepository
is 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 givenDestination
and a given function name. If theDestination
is of typeHttpDestination
, nothing is done because no cache exists. If theDestination
is of typeRfcDestination
, the relatedJCoRepository
is 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.
-