Skip to content

Commit

Permalink
STAR-1258 Expose setOpObserver and cleanup methods in AbstractCompact…
Browse files Browse the repository at this point in the history
…ionTask for external callers (apache#426)
  • Loading branch information
djatnieks committed Apr 25, 2022
1 parent dd35a9b commit 3b7e977
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -143,7 +143,7 @@ public int execute()
}
}

private Throwable cleanup(Throwable err)
public Throwable cleanup(Throwable err)
{
final boolean isSuccess = err == null;
for (CompactionObserver compObserver : compObservers)
Expand Down Expand Up @@ -173,7 +173,7 @@ public AbstractCompactionTask setCompactionType(OperationType compactionType)
/**
* Override the NO OP observer, this is normally overridden by the compaction metrics.
*/
AbstractCompactionTask setOpObserver(TableOperationObserver opObserver)
public AbstractCompactionTask setOpObserver(TableOperationObserver opObserver)
{
this.opObserver = opObserver;
return this;
Expand Down

0 comments on commit 3b7e977

Please sign in to comment.