Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0005945: compare and repair dev checkin
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
symmetric-core/src/main/java/org/jumpmind/symmetric/ext/IBatchStagingExtension.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.jumpmind.symmetric.ext; | ||
|
||
import org.jumpmind.extension.IExtensionPoint; | ||
import org.jumpmind.symmetric.io.stage.IStagedResource; | ||
import org.jumpmind.symmetric.io.stage.StagingPurgeContext; | ||
|
||
public interface IBatchStagingExtension extends IExtensionPoint { | ||
public void beforeClean(StagingPurgeContext context); | ||
|
||
public boolean isValidPath(String category); | ||
|
||
public boolean shouldCleanPath(IStagedResource resource, long ttlInMs, StagingPurgeContext context, String[] path, boolean resourceIsOld, | ||
boolean resourceClearsMinTimeHurdle); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters