Interface AsyncIndexInfoService
- All Known Implementing Classes:
AsyncIndexInfoServiceImpl
public interface AsyncIndexInfoService
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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 state@Nullable AsyncIndexInfo
Returns the info for async indexer with given name@Nullable AsyncIndexInfo
Returns the info for async indexer with given name and based on given root NodeStatedefault boolean
hasIndexerUpdatedForAnyLane
(NodeState before, NodeState after) Determines if any index lane has completed any indexing cycle between given two repository states
-
Method Details
-
getAsyncLanes
Returns all the async indexing lanes which are active in the setup. -
getAsyncLanes
Returns all the async indexing lanes which are active in the setup based on given root NodeState- Parameters:
root
- root NodeState from which async index state is read
-
getInfo
Returns the info for async indexer with given name -
getInfo
Returns the info for async indexer with given name and based on given root NodeState -
getIndexedUptoPerLane
Returns the lastIndexUpto time in millis for each indexing lane for current root state- Returns:
- map with lane name as key and lastIndexUpto in millis as value
-
getIndexedUptoPerLane
Returns the lastIndexUpto time in millis for each indexing lane for given root state- Returns:
- map with lane name as key and lastIndexUpto in millis as value
-
hasIndexerUpdatedForAnyLane
Determines if any index lane has completed any indexing cycle between given two repository states- Parameters:
before
- before state of root nodeafter
- after state of root node- Returns:
- true if any indexing lane has completed any indexing cycle i.e. its lastIndexTo time has changed
-