Package | Description |
---|---|
com.alibaba.tenant |
Modifier and Type | Method and Description |
---|---|
<K,T> T |
TenantContainer.getFieldValue(K obj,
String fieldName,
Supplier<T> supplier)
Gets the field value stored in the data repository of this tenant, which is same to call the
TenantData.getFieldValue on the tenant data object retrieved by TenantContainer.getTenantData . |
<K,T> T |
TenantData.getFieldValue(K obj,
String fieldName,
Supplier<T> supplier)
Retrieves the value of
obj 's field isolated per tenant |
static <T> T |
TenantContainer.primitiveRunInRoot(Supplier<T> supplier)
Runs
Supplier.get in the root tenant. |
"Copyright 2018, Alibaba, Inc."