use of org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointMarkersStorage in project ignite by apache.
the class ReleaseSegmentOnHistoricalRebalanceTest method checkpointHistory.
/**
* Sets the spy to {@code CheckpointMarkersStorage#cpHistory}.
*
* @param n Node.
* @param spy Spy.
*/
private void checkpointHistory(IgniteEx n, CheckpointHistory spy) {
CheckpointMarkersStorage s = getFieldValue(dbMgr(n), "checkpointManager", "checkpointMarkersStorage");
setFieldValue(s, "cpHistory", spy);
}
Aggregations