Class ExtItemCache

java.lang.Object
com.evolveum.midpoint.repo.sqale.ExtItemCache

public class ExtItemCache extends Object
Cache for MExtItem catalog.
  • Constructor Details

    • ExtItemCache

      public ExtItemCache()
  • Method Details

    • initialize

      public void initialize(Supplier<JdbcSession> jdbcSessionSupplier)
      Initializes the ext-item cache. Provided JdbcSession 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(Integer id)
    • 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.