Search in sources :

Example 1 with CheckpointMarkersStorage

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);
}
Also used : CheckpointMarkersStorage(org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointMarkersStorage)

Aggregations

CheckpointMarkersStorage (org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointMarkersStorage)1