public static class AsyncShardFetch.FetchResult<T extends BaseNodeResponse> extends Object
hasData() before
fetching the actual data.| コンストラクタと説明 |
|---|
FetchResult(ShardId shardId,
Map<DiscoveryNode,T> data,
Set<String> failedNodes,
Set<String> ignoreNodes) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Map<DiscoveryNode,T> |
getData()
Returns the actual data, note, make sure to check
hasData() first and
only use this when there is an actual data. |
boolean |
hasData()
Does the result actually contain data?
|
void |
processAllocation(RoutingAllocation allocation)
Process any changes needed to the allocation based on this fetch result.
|
public boolean hasData()
public Map<DiscoveryNode,T> getData()
hasData() first and
only use this when there is an actual data.public void processAllocation(RoutingAllocation allocation)
Copyright © 2009–2016. All rights reserved.