Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.thread |
Modifier and Type | Method and Description |
---|---|
static <T> Property<T> |
Property.of(T value)
Creates a non-confidential property from the given value.
|
static <T> Property<T> |
Property.ofConfidential(T confidentialValue)
Creates a confidential property from the given value.
|
Modifier and Type | Method and Description |
---|---|
ConcurrentMap<String,io.vavr.control.Try<Property<?>>> |
DefaultThreadContext.getProperties() |
<T> io.vavr.control.Try<Property<T>> |
ThreadContext.getProperty(String name)
Retrieves a
Try of the property for the given name. |
<T> io.vavr.control.Try<Property<T>> |
DefaultThreadContext.getProperty(String name)
Retrieves a
Try of the property for the given name. |
static io.vavr.control.Try<Property<?>> |
Property.ofConfidentialTry(io.vavr.control.Try<?> confidentialValueTry)
Creates a confidential property from a given
Try of a value. |
static io.vavr.control.Try<Property<?>> |
Property.ofTry(io.vavr.control.Try<?> valueTry)
Creates a non-confidential property from a given
Try of a value. |
<T> io.vavr.control.Try<Property<T>> |
ThreadContext.removeProperty(String name)
Removes the property with the given name.
|
<T> io.vavr.control.Try<Property<T>> |
DefaultThreadContext.removeProperty(String name)
Removes the property with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
ThreadContext.setPropertyIfAbsent(String name,
io.vavr.control.Try<Property<?>> value)
Sets a value for the property for the given name, if it has not been set before.
|
void |
DefaultThreadContext.setPropertyIfAbsent(String name,
io.vavr.control.Try<Property<?>> value)
Sets a value for the property for the given name, if it has not been set before.
|
Copyright © 2020 SAP SE. All rights reserved.