public interface AsyncIndexInfoService
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.lang.String> |
getAsyncLanes()
Returns all the async indexing lanes which are active
in the setup.
|
java.lang.Iterable<java.lang.String> |
getAsyncLanes(NodeState root)
Returns all the async indexing lanes which are active
in the setup based on given root NodeState
|
java.util.Map<java.lang.String,java.lang.Long> |
getIndexedUptoPerLane()
Returns the lastIndexUpto time in millis for each indexing lane
for current root state
|
java.util.Map<java.lang.String,java.lang.Long> |
getIndexedUptoPerLane(NodeState root)
Returns the lastIndexUpto time in millis for each indexing lane
for given root state
|
@Nullable AsyncIndexInfo |
getInfo(java.lang.String name)
Returns the info for async indexer with given name
|
@Nullable AsyncIndexInfo |
getInfo(java.lang.String name,
NodeState root)
Returns the info for async indexer with given name
and based on given root NodeState
|
default boolean |
hasIndexerUpdatedForAnyLane(NodeState before,
NodeState after)
Determines if any index lane has completed any indexing cycle between given
two repository states
|
java.lang.Iterable<java.lang.String> getAsyncLanes()
java.lang.Iterable<java.lang.String> getAsyncLanes(NodeState root)
root
- root NodeState from which async index state
is read@Nullable @Nullable AsyncIndexInfo getInfo(java.lang.String name)
@Nullable @Nullable AsyncIndexInfo getInfo(java.lang.String name, NodeState root)
java.util.Map<java.lang.String,java.lang.Long> getIndexedUptoPerLane()
java.util.Map<java.lang.String,java.lang.Long> getIndexedUptoPerLane(NodeState root)
default boolean hasIndexerUpdatedForAnyLane(NodeState before, NodeState after)
before
- before state of root nodeafter
- after state of root nodeCopyright © 2010 - 2020 Adobe. All Rights Reserved