Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Drools 6 で KieBase をロードする時間を節約するために kbase.cache ファイルを直接ロードすることはできますか?

Solution Verified - Updated -

Issue

  • コードから kjar を作成してから KieBase をロードしようとすると、通常のファイルシステムから rules/asset ファイルを読み込むのと同じ時間がかかり、JVM のヒープメモリを使用しているのが確認できます。kbase.cache ファイルが kjarMETA-INF\defaultKieBase\ にありますか? これには、おそらくすべての rules/assets でコンパイルされた bytecode が含まれており、KieBase のロード時間が速くなると考えられます。
  • ユーザーがこの kbase.cache を直接ロードし、ルールを実行する方法はありますか?

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.