Uses of Interface
com.sap.cloud.sdk.cloudplatform.tenant.Tenant
Packages that use Tenant
Package
Description
-
Uses of Tenant in com.sap.cloud.sdk.cloudplatform.cache
Methods in com.sap.cloud.sdk.cloudplatform.cache with parameters of type TenantModifier and TypeMethodDescriptionstatic CacheKey
Constructs aCacheKey
for the given tenant and principal identifier, independent of whether they arenull
or not.static SerializableCacheKey
Constructs aCacheKey
for the given tenant and principal identifier, independent of whether they arenull
or not. -
Uses of Tenant in com.sap.cloud.sdk.cloudplatform.resilience
Methods in com.sap.cloud.sdk.cloudplatform.resilience that return TenantMethods in com.sap.cloud.sdk.cloudplatform.resilience with parameters of type TenantModifier and TypeMethodDescriptionstatic CacheFilter
CacheFilter.keyMatchesTenant
(Tenant tenant) Creates aCacheFilter
, which includes all cache entries associated withGenericCacheKey
s that are accessible with respect to the passedTenant
. -
Uses of Tenant in com.sap.cloud.sdk.cloudplatform.tenant
Subinterfaces of Tenant in com.sap.cloud.sdk.cloudplatform.tenantModifier and TypeInterfaceDescriptioninterface
Represents a {@link Tenant) that can be accessed through a subdomain.Classes in com.sap.cloud.sdk.cloudplatform.tenant that implement TenantModifier and TypeClassDescriptionclass
Implementation ofTenant
which can be used on SAP Business Technology Platform Cloud Foundry.Methods in com.sap.cloud.sdk.cloudplatform.tenant that return TenantModifier and TypeMethodDescriptionstatic Tenant
TenantAccessor.getCurrentTenant()
Returns the currentTenant
.Methods in com.sap.cloud.sdk.cloudplatform.tenant that return types with arguments of type TenantModifier and TypeMethodDescriptionTenantAccessor.getFallbackTenant()
Global fallbackTenant
.io.vavr.control.Try<Tenant>
DefaultTenantFacade.tryGetCurrentTenant()
io.vavr.control.Try<Tenant>
DwcTenantFacade.tryGetCurrentTenant()
static io.vavr.control.Try<Tenant>
TenantAccessor.tryGetCurrentTenant()
io.vavr.control.Try<Tenant>
TenantFacade.tryGetCurrentTenant()
Returns aTry
of the currentTenant
.Methods in com.sap.cloud.sdk.cloudplatform.tenant with parameters of type TenantModifier and TypeMethodDescriptionstatic void
TenantAccessor.executeWithTenant
(Tenant tenant, Executable executable) Execute the givenExecutable
on behalf of a given tenant.static <T> T
TenantAccessor.executeWithTenant
(Tenant tenant, Callable<T> callable) Execute the givenCallable
on behalf of a given tenant.Method parameters in com.sap.cloud.sdk.cloudplatform.tenant with type arguments of type TenantModifier and TypeMethodDescriptionstatic void
TenantAccessor.executeWithFallbackTenant
(Supplier<Tenant> fallbackTenant, Executable executable) Execute the givenExecutable
, using the given tenant as fallback if there is no other tenant available.static <T> T
TenantAccessor.executeWithFallbackTenant
(Supplier<Tenant> fallbackTenant, Callable<T> callable) Execute the givenCallable
, using the given tenant as fallback if there is no other tenant available.static void
TenantAccessor.setFallbackTenant
(Supplier<Tenant> fallbackTenant) Global fallbackTenant
.Constructors in com.sap.cloud.sdk.cloudplatform.tenant with parameters of type TenantModifierConstructorDescriptionTenantThreadContextListener
(Tenant tenant) Constructor for providing aTenant
to be returned by this listener.