All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bazaarvoice.emodb.sor.api.CompactionControlSource Maven / Gradle / Ivy

The newest version!
package com.bazaarvoice.emodb.sor.api;

import java.util.List;
import java.util.Map;

/**
 * Defines the interface for storing and retrieving the stash start run timestamps.
 * 

* It's used in stash process (to update the start timestamps) and in compaction (to delay the deletion of deltas). */ public interface CompactionControlSource { void updateStashTime(String id, long timestamp, List placements, long expiredTimestamp, String dataCenter); void deleteStashTime(String id, String dataCenter); StashRunTimeInfo getStashTime(String id, String dataCenter); Map getAllStashTimes(); Map getStashTimesForPlacement(String placement); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy