@ManagedResource(objectName="sql-processor:type=Engine",
description="The simplified JMX interface for the SQL Engine factory.")
public class SpringEngineFactoryJmx
extends SqlDefaultFactoryMXBean
The factory can be based on Spring DI framework for example.
For more info please see the Tutorials.
| Constructor and Description |
|---|
SpringEngineFactoryJmx() |
setSqlEngineFactory@ManagedOperation(description="In the case the SQL Query Engines are not initialized, a new static instances are established in the cache.") @ManagedOperationParameters(value=) public int initQueryEngines(String names)
initQueryEngines in class SqlDefaultFactoryMXBean@ManagedOperation(description="In the case the SQL CRUD Engines are not initialized, a new static instances are established in the cache.") @ManagedOperationParameters(value=) public int initCrudEngines(String names)
initCrudEngines in class SqlDefaultFactoryMXBean@ManagedOperation(description="In the case the SQL Procedure Engines are not initialized, a new static instances are established in the cache.") @ManagedOperationParameters(value=) public int initProcedureEngines(String names)
initProcedureEngines in class SqlDefaultFactoryMXBean@ManagedOperation(description="In the case any dynamic SQL Query Engine is in the cache, the static one is re-established.") @ManagedOperationParameters(value=) public int resetQueryEngines(String names)
resetQueryEngines in class SqlDefaultFactoryMXBean@ManagedOperation(description="In the case any dynamic SQL CRUD Engine is in the cache, the static one is re-established.") @ManagedOperationParameters(value=) public int resetCrudEngines(String names)
resetCrudEngines in class SqlDefaultFactoryMXBean@ManagedOperation(description="In the case any dynamic SQL Procedure Engine is in the cache, the static one is re-established.") @ManagedOperationParameters(value=) public int resetProcedureEngines(String names)
resetProcedureEngines in class SqlDefaultFactoryMXBean@ManagedOperation(description="A new dynamic SQL Query Engine instance is established in the cache. The static one is suppressed.")
@ManagedOperationParameters(value={,})
public void newQueryEngine(String name,
String sqlStatement)
throws SqlEngineException
newQueryEngine in class SqlDefaultFactoryMXBeanSqlEngineException@ManagedOperation(description="A new dynamic SQL CRUD Engine instance is established in the cache. The static one is suppressed.")
@ManagedOperationParameters(value={,})
public void newCrudEngine(String name,
String sqlStatement)
newCrudEngine in class SqlDefaultFactoryMXBean@ManagedOperation(description="A new dynamic SQL Procedure Engine instance is established in the cache. The static one is suppressed.")
@ManagedOperationParameters(value={,})
public void newProcedureEngine(String name,
String sqlStatement)
newProcedureEngine in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the collection of names of all initialized/constructed static SQL Query Engine instances.") public List<String> getQueryNames()
getQueryNames in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the collection of names of all initialized/constructed dynamic SQL Query Engine instances.") public List<String> getQueryDynamicNames()
getQueryDynamicNames in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the collection of names of all initialized/constructed static SQL Crud Engine instances.") public List<String> getCrudNames()
getCrudNames in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the collection of names of all initialized/constructed dynamic SQL Crud Engine instances.") public List<String> getCrudDynamicNames()
getCrudDynamicNames in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the collection of names of all initialized/constructed static SQL Procedure Engine instances.") public List<String> getProcedureNames()
getProcedureNames in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the collection of names of all initialized/constructed dynamic SQL Procedure Engine instances.") public List<String> getProcedureDynamicNames()
getProcedureDynamicNames in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the processing cache used for the selected SQL Query Engine.") public List<String> getQueryEngineProcessingCache(String name)
getQueryEngineProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the processing cache used for the selected SQL CRUD Engine.") public List<String> getCrudEngineProcessingCache(String name)
getCrudEngineProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the processing cache used for the selected SQL Procedure Engine.") public List<String> getProcedureEngineProcessingCache(String name)
getProcedureEngineProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Clears the processing cache used for the selected SQL Query Engine.") public int resetQueryEngineProcessingCache(String name, String names)
resetQueryEngineProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Clears the processing cache used for the selected SQL CRUD Engine.") public int resetCrudEngineProcessingCache(String name, String names)
resetCrudEngineProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Clears the processing cache used for the selected SQL Procedure Engine.") public int resetProcedureEngineProcessingCache(String name, String names)
resetProcedureEngineProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the collection of names of all initialized/constructed static SQL Engine instances.") public boolean isLazyInit()
isLazyInit in class SqlDefaultFactoryMXBean@ManagedOperation(description="Sets the indicator to speed up the initialization process.") @ManagedOperationParameters(value=) public void setLazyInit(boolean lazyInit)
setLazyInit in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the indicator the initialization process should be done asynchronously.") public Integer getAsyncInitThreads()
getAsyncInitThreads in class SqlDefaultFactoryMXBean@ManagedOperation(description="Sets the number of threads used for asynchronous initialization") @ManagedOperationParameters(value=) public void setAsyncInitThreads(Integer asyncInitThreads)
setAsyncInitThreads in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the initialization threshold. The engines, which usage is at least this number should be initialized directly.") public Integer getInitTreshold()
getInitTreshold in class SqlDefaultFactoryMXBean@ManagedOperation(description="Sets the initialization threshold. The engines, which usage is at least this number should be initialized directly.") @ManagedOperationParameters(value=) public void setInitTreshold(Integer initTreshold)
setInitTreshold in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the indicator that the most frequently used engines should be initialized preferentially.") public Boolean getInitInUsageOrder()
getInitInUsageOrder in class SqlDefaultFactoryMXBean@ManagedOperation(description="Sets the indicator that the most frequently used engines should be initialized preferentially.") @ManagedOperationParameters(value=) public void setInitInUsageOrder(Boolean initInUsageOrder)
setInitInUsageOrder in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the flag indicating the asynchronous SQL Processor engines initialization has been finished.") public Boolean isAsyncInitFinished()
isAsyncInitFinished in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the result of engines initialization process.") public String getEnginesInitErrors()
getEnginesInitErrors in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the container of the Query Engines\' names, which has to be initialized.") public List<String> getQueryEnginesToInit()
getQueryEnginesToInit in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the container of the CRUD Engines\' names, which has to be initialized.") public List<String> getCrudEnginesToInit()
getCrudEnginesToInit in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the container of the Procedure Engines\' names, which has to be initialized.") public List<String> getProcedureEnginesToInit()
getProcedureEnginesToInit in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the Query Engine usage number.") @ManagedOperationParameters(value=) public int getQueryEngineUsage(String name)
getQueryEngineUsage in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the CRUD Engine usage number.") @ManagedOperationParameters(value=) public int getCrudEngineUsage(String name)
getCrudEngineUsage in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the Procedure Engine usage number.") @ManagedOperationParameters(value=) public int getProcedureEngineUsage(String name)
getProcedureEngineUsage in class SqlDefaultFactoryMXBean@ManagedOperation(description="Resets the Query Engine usage number.") @ManagedOperationParameters(value=) public int resetQueryEngineUsage(String name)
resetQueryEngineUsage in class SqlDefaultFactoryMXBean@ManagedOperation(description="Resets the CRUD Engine usage number.") @ManagedOperationParameters(value=) public int resetCrudEngineUsage(String name)
resetCrudEngineUsage in class SqlDefaultFactoryMXBean@ManagedOperation(description="Resets the Procedure Engine usage number.") @ManagedOperationParameters(value=) public int resetProcedureEngineUsage(String name)
resetProcedureEngineUsage in class SqlDefaultFactoryMXBean@ManagedOperation(description="Loads the persisted configuration.") public void loadConfiguration()
loadConfiguration in class SqlDefaultFactoryMXBean@ManagedOperation(description="Persists the configuration into the external file.") public void storeConfiguration()
storeConfiguration in class SqlDefaultFactoryMXBean@ManagedOperation(description="Resets the state of the dynamic configuration instance.") public void clearConfiguration()
clearConfiguration in class SqlDefaultFactoryMXBean@ManagedOperation(description="Reset the engines\' usage counters.") public void clearConfigurationUsage()
clearConfigurationUsage in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the indicator that the processing cache can be used.") public Boolean getUseProcessingCache()
getUseProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Sets the indicator that the processing cache can be used.") @ManagedOperationParameters(value=) public void setUseProcessingCache(Boolean useProcessingCache)
setUseProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the negative processing cache.") public List<String> getDoProcessingCacheEngines()
getDoProcessingCacheEngines in class SqlDefaultFactoryMXBean@ManagedOperation(description="Updates the positive processing cache.") @ManagedOperationParameters(value=) public int initDoProcessingCache(String names)
initDoProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Updates the positive processing cache.") @ManagedOperationParameters(value=) public int resetDoProcessingCache(String names)
resetDoProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Returns the negative processing cache.") public List<String> getDontProcessingCacheEngines()
getDontProcessingCacheEngines in class SqlDefaultFactoryMXBean@ManagedOperation(description="Updates the negative processing cache.") @ManagedOperationParameters(value=) public int initDontProcessingCache(String names)
initDontProcessingCache in class SqlDefaultFactoryMXBean@ManagedOperation(description="Updates the negative processing cache.") @ManagedOperationParameters(value=) public int resetDontProcessingCache(String names)
resetDontProcessingCache in class SqlDefaultFactoryMXBeanCopyright © 2016. All rights reserved.