public enum ResilienceIsolationMode extends Enum<ResilienceIsolationMode>
Enum Constant and Description |
---|
NO_ISOLATION
Global key that does not differentiate between tenants or users.
|
PRINCIPAL_OPTIONAL
User-only key that differentiates between users but not tenants.
|
PRINCIPAL_REQUIRED
User-only key that differentiates between users but not tenants.
|
TENANT_AND_USER_OPTIONAL
Tenant and user key that tries to differentiate between both tenants and users.
|
TENANT_AND_USER_REQUIRED
Tenant and user key that differentiates between both tenants and users.
|
TENANT_OPTIONAL
Tenant-only key that differentiates between tenants but not users.
|
TENANT_REQUIRED
Tenant-only key that differentiates between tenants but not users.
|
Modifier and Type | Method and Description |
---|---|
static ResilienceIsolationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResilienceIsolationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResilienceIsolationMode NO_ISOLATION
public static final ResilienceIsolationMode TENANT_REQUIRED
ResilienceRuntimeException
will be thrown during runtime.public static final ResilienceIsolationMode TENANT_OPTIONAL
NO_ISOLATION
.public static final ResilienceIsolationMode PRINCIPAL_REQUIRED
ResilienceRuntimeException
will be thrown during runtime.public static final ResilienceIsolationMode PRINCIPAL_OPTIONAL
NO_ISOLATION
.public static final ResilienceIsolationMode TENANT_AND_USER_REQUIRED
ResilienceRuntimeException
will be thrown during runtime.public static final ResilienceIsolationMode TENANT_AND_USER_OPTIONAL
public static ResilienceIsolationMode[] values()
for (ResilienceIsolationMode c : ResilienceIsolationMode.values()) System.out.println(c);
public static ResilienceIsolationMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 SAP SE. All rights reserved.