public class IgniteMBeansManager extends Object
| Constructor and Description |
|---|
IgniteMBeansManager(IgniteKernal kernal) |
| Modifier and Type | Method and Description |
|---|---|
void |
registerAllMBeans(ExecutorService utilityCachePool,
ExecutorService execSvc,
ExecutorService svcExecSvc,
ExecutorService sysExecSvc,
StripedExecutor stripedExecSvc,
ExecutorService p2pExecSvc,
ExecutorService mgmtExecSvc,
StripedExecutor dataStreamExecSvc,
ExecutorService restExecSvc,
ExecutorService affExecSvc,
@Nullable ExecutorService idxExecSvc,
IgniteStripedThreadPoolExecutor callbackExecSvc,
ExecutorService qryExecSvc,
ExecutorService schemaExecSvc,
ExecutorService rebalanceExecSvc,
IgniteStripedThreadPoolExecutor rebalanceStripedExecSvc,
@Nullable Map<String,? extends ExecutorService> customExecSvcs,
WorkersRegistry workersRegistry)
Registers all kernal MBeans (for kernal, metrics, thread pools).
|
<T> void |
registerMBean(String grp,
String name,
T impl,
Class<T> itf)
Register an Ignite MBean.
|
boolean |
unregisterAllMBeans()
Unregisters all previously registered MBeans.
|
public IgniteMBeansManager(IgniteKernal kernal)
kernal - Grid kernal.public void registerAllMBeans(ExecutorService utilityCachePool, ExecutorService execSvc, ExecutorService svcExecSvc, ExecutorService sysExecSvc, StripedExecutor stripedExecSvc, ExecutorService p2pExecSvc, ExecutorService mgmtExecSvc, StripedExecutor dataStreamExecSvc, ExecutorService restExecSvc, ExecutorService affExecSvc, @Nullable @Nullable ExecutorService idxExecSvc, IgniteStripedThreadPoolExecutor callbackExecSvc, ExecutorService qryExecSvc, ExecutorService schemaExecSvc, ExecutorService rebalanceExecSvc, IgniteStripedThreadPoolExecutor rebalanceStripedExecSvc, @Nullable @Nullable Map<String,? extends ExecutorService> customExecSvcs, WorkersRegistry workersRegistry) throws IgniteCheckedException
utilityCachePool - Utility cache pool.execSvc - Executor service.svcExecSvc - Services' executor service.sysExecSvc - System executor service.stripedExecSvc - Striped executor.p2pExecSvc - P2P executor service.mgmtExecSvc - Management executor service.dataStreamExecSvc - data stream executor service.restExecSvc - Reset executor service.affExecSvc - Affinity executor service.idxExecSvc - Indexing executor service.callbackExecSvc - Callback executor service.qryExecSvc - Query executor service.schemaExecSvc - Schema executor service.rebalanceExecSvc - Rebalance executor service.rebalanceStripedExecSvc - Rebalance striped executor service.customExecSvcs - Custom named executors.workersRegistry - Worker registry.IgniteCheckedException - if fails to register any of the MBeans.public <T> void registerMBean(String grp, String name, T impl, Class<T> itf) throws IgniteCheckedException
T - bean typegrp - bean group namename - bean nameimpl - bean implementationitf - bean interfaceIgniteCheckedException - if registration failspublic boolean unregisterAllMBeans()
true if all mbeans were unregistered successfully; false otherwise.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020