Class ResilienceIsolationKey
java.lang.Object
com.sap.cloud.sdk.cloudplatform.resilience.ResilienceIsolationKey
Isolation key to manage optional tenant and principal values.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static ResilienceIsolationKey
of
(ResilienceIsolationMode isolationMode) Factory method for creating a resilience isolation key.toString()
-
Method Details
-
of
@Nonnull public static ResilienceIsolationKey of(@Nonnull ResilienceIsolationMode isolationMode) throws IllegalArgumentException Factory method for creating a resilience isolation key.- Parameters:
isolationMode
- The isolation mode for the key to be constructed.- Returns:
- A resilience isolation key.
- Throws:
IllegalArgumentException
- If the given isolation mode is not supported.
-
getTenant
-
getPrincipal
-
toString
-
equals
-
hashCode
public int hashCode()
-