Package com.evolveum.midpoint.repo.sqale
Class ExtItemCache
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqale.ExtItemCache
-
-
Constructor Summary
Constructors Constructor Description ExtItemCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable MExtItem
getExtensionItem(MExtItem.Key extItemKey)
Returns extension item from the local cache only.@Nullable MExtItem
getExtensionItem(Integer id)
void
initialize(Supplier<JdbcSession> jdbcSessionSupplier)
Initializes the ext-item cache.@NotNull MExtItem
resolveExtensionItem(MExtItem.Key extItemKey)
-
-
-
Method Detail
-
initialize
public void initialize(Supplier<JdbcSession> jdbcSessionSupplier)
Initializes the ext-item cache. ProvidedJdbcSession
supplier will be used for later writes as well.
-
resolveExtensionItem
@NotNull public @NotNull MExtItem resolveExtensionItem(@NotNull MExtItem.Key extItemKey)
-
getExtensionItem
@Nullable public @Nullable MExtItem getExtensionItem(MExtItem.Key extItemKey)
Returns extension item from the local cache only. Use with care, because this is not multi-node safe.
-
-