Return old dirtyEntries as deprecated to keep compatibility

This commit is contained in:
Ivan Rakov
2021-03-02 15:30:18 +03:00
parent adfb833ca5
commit 0b8bc725fe
2 changed files with 35 additions and 9 deletions
@@ -130,6 +130,15 @@ public interface Replica extends Closeable {
*/
boolean nextEntry(@NotNull final Callback callback, final int chronicleId);
/**
* Synchronous version which is kept for binary API compatibility.
*
* @deprecated see {@link #dirtyEntries(long, EventLoop)}
* @param fromTimeStamp the timestamp from which all entries should be dirty
*/
@Deprecated(/* to be removed in x.22 */)
void dirtyEntries(long fromTimeStamp);
/**
* Dirties all entries with a modification time equal to {@code fromTimeStamp} or newer and
* origin identifier equal to the current node identifier. It means all these entries will