@Test public void state_history_is_initially_empty() { final StateVersionTracker versionTracker = createWithMockedMetrics(); assertTrue(versionTracker.getClusterStateHistory().isEmpty()); }
public List<ClusterStateHistoryEntry> getClusterStateHistory() { return Collections.unmodifiableList(clusterStateHistory); }
StateVersionTracker { public List<ClusterStateHistoryEntry> getClusterStateHistory() { return Collections.unmodifiableList(clusterStateHistory); } }
StateVersionTracker { public List<ClusterStateHistoryEntry> getClusterStateHistory() { return Collections.unmodifiableList(clusterStateHistory); } StateVersionTracker(double minMergeCompletionRatio); }
StateVersionTracker { public List<ClusterStateHistoryEntry> getClusterStateHistory() { return Collections.unmodifiableList(clusterStateHistory); } StateVersionTracker(double minMergeCompletionRatio); ClusterState getVersionedClusterState(); ClusterStatsAggregator getAggregatedClusterStats(); ClusterStateBundle getVersionedClusterStateBundle(); void updateLatestCandidateStateBundle(final ClusterStateBundle candidateBundle); AnnotatedClusterState getLatestCandidateState(); List<ClusterStateHistoryEntry> getClusterStateHistory(); }
StateVersionTracker { public List<ClusterStateHistoryEntry> getClusterStateHistory() { return Collections.unmodifiableList(clusterStateHistory); } StateVersionTracker(double minMergeCompletionRatio); ClusterState getVersionedClusterState(); ClusterStatsAggregator getAggregatedClusterStats(); ClusterStateBundle getVersionedClusterStateBundle(); void updateLatestCandidateStateBundle(final ClusterStateBundle candidateBundle); AnnotatedClusterState getLatestCandidateState(); List<ClusterStateHistoryEntry> getClusterStateHistory();  }