Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

deprecate old executor usage; allow for specifying your own #2457

Closed
wants to merge 1 commit into from

Conversation

tpetracca
Copy link
Contributor

@tpetracca tpetracca commented Oct 10, 2017

Goals (and why): Move to supplying your own executor, per #2451 (comment)

Implementation Description (bullets):

Concerns (what feedback would you like?):

Where should we start reviewing?:

Priority (whenever / two weeks / yesterday):


This change is Reviewable

@tpetracca tpetracca requested a review from schlosna October 10, 2017 15:51
}

public LockRefreshingTimelockService(TimelockService delegate, LockRefresher lockRefresher) {
@VisibleForTesting
LockRefreshingTimelockService(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is technically an API break as it's no longer public, but I think that's fine?

@@ -29,7 +29,7 @@
import com.palantir.lock.v2.LockToken;
import com.palantir.lock.v2.TimelockService;

public class LockRefresher implements AutoCloseable {
public class LockRefresher {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this an api break?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

depends when it gets merged... I added it in yesterday

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants