当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
SuggestionCompletionCache (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.brms.client.packages
Class SuggestionCompletionCache
java.lang.Object
org.drools.brms.client.packages.SuggestionCompletionCache
public class SuggestionCompletionCache
- extends Object
This utility cache will maintain a cache of suggestion completion engines,
as they are somewhat heavy to load.
If it needs to be loaded, then it will load, and then call the appropriate action,
and keep it in the cache.
- Author:
- Michael Neale
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuggestionCompletionCache
public SuggestionCompletionCache()
getInstance
public static SuggestionCompletionCache getInstance()
doAction
public void doAction(String packageName,
com.google.gwt.user.client.Command command)
- This will do the action, after refreshing the cache if necessary.
getEngineFromCache
public SuggestionCompletionEngine getEngineFromCache(String packageName)
removePackage
public void removePackage(String packageName)
- Removed the package from the cache, causing it to be loaded the next time.
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.