Class QueryCacheManagementFacade

java.lang.Object
io.jmix.eclipselink.impl.entitycache.QueryCacheManagementFacade

@ManagedResource(description="Manages query cache", objectName="jmix.eclipselink:type=QueryCache") @Component("eclipselink_QueryCacheManagementFacade") public class QueryCacheManagementFacade extends Object
  • Constructor Details

    • QueryCacheManagementFacade

      public QueryCacheManagementFacade()
  • Method Details

    • getSize

      @ManagedAttribute(description="Current number of cached queries") public long getSize()
    • evictAll

      @ManagedOperation(description="Discard all cached queries") public String evictAll()
    • evict

      @ManagedOperation(description="Discard cached queries for entity") @ManagedOperationParameters(@ManagedOperationParameter(name="entityName",description="Entity name, e.g. demo_User")) public String evict(String entityName)