Class AsyncIndexInfoServiceImpl
java.lang.Object
org.apache.jackrabbit.oak.plugins.index.AsyncIndexInfoServiceImpl
- All Implemented Interfaces:
AsyncIndexInfoService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
bindStatsMBeans
(IndexStatsMBean mBean) Returns all the async indexing lanes which are active in the setup.getAsyncLanes
(NodeState root) Returns all the async indexing lanes which are active in the setup based on given root NodeStateReturns the lastIndexUpto time in millis for each indexing lane for current root stateReturns the lastIndexUpto time in millis for each indexing lane for given root stateReturns the info for async indexer with given nameReturns the info for async indexer with given name and based on given root NodeStateprotected void
unbindStatsMBeans
(IndexStatsMBean mBean) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jackrabbit.oak.plugins.index.AsyncIndexInfoService
hasIndexerUpdatedForAnyLane
-
Constructor Details
-
AsyncIndexInfoServiceImpl
public AsyncIndexInfoServiceImpl() -
AsyncIndexInfoServiceImpl
-
-
Method Details
-
getAsyncLanes
Description copied from interface:AsyncIndexInfoService
Returns all the async indexing lanes which are active in the setup.- Specified by:
getAsyncLanes
in interfaceAsyncIndexInfoService
-
getAsyncLanes
Description copied from interface:AsyncIndexInfoService
Returns all the async indexing lanes which are active in the setup based on given root NodeState- Specified by:
getAsyncLanes
in interfaceAsyncIndexInfoService
- Parameters:
root
- root NodeState from which async index state is read
-
getInfo
Description copied from interface:AsyncIndexInfoService
Returns the info for async indexer with given name- Specified by:
getInfo
in interfaceAsyncIndexInfoService
-
getInfo
Description copied from interface:AsyncIndexInfoService
Returns the info for async indexer with given name and based on given root NodeState- Specified by:
getInfo
in interfaceAsyncIndexInfoService
-
getIndexedUptoPerLane
Description copied from interface:AsyncIndexInfoService
Returns the lastIndexUpto time in millis for each indexing lane for current root state- Specified by:
getIndexedUptoPerLane
in interfaceAsyncIndexInfoService
- Returns:
- map with lane name as key and lastIndexUpto in millis as value
-
getIndexedUptoPerLane
Description copied from interface:AsyncIndexInfoService
Returns the lastIndexUpto time in millis for each indexing lane for given root state- Specified by:
getIndexedUptoPerLane
in interfaceAsyncIndexInfoService
- Returns:
- map with lane name as key and lastIndexUpto in millis as value
-
bindStatsMBeans
-
unbindStatsMBeans
-