Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
Implement missed methods for upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
zorro786 committed Oct 5, 2021
1 parent 4eb83d1 commit 9798be0
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ public Status reviveOffers() {
throw new UnsupportedOperationException();
}

@Override
public Status reviveOffers(Collection<String> roles) {
throw new UnsupportedOperationException();
}

@Override
public Status acknowledgeStatusUpdate(TaskStatus status) {
assertNotStopped();
Expand All @@ -295,6 +300,11 @@ public Status reconcileTasks(Collection<TaskStatus> statuses) {
throw new UnsupportedOperationException();
}

@Override
public Status updateFramework(org.apache.mesos.Protos.FrameworkInfo frameworkInfo, Collection<String> suppressedRoles) {
throw new UnsupportedOperationException();
}

@Override
public Status acceptOffers(
Collection<OfferID> offerIds,
Expand All @@ -308,6 +318,11 @@ public Status suppressOffers() {
throw new UnsupportedOperationException();
}

@Override
public Status suppressOffers(Collection<String> roles) {
throw new UnsupportedOperationException();
}

private static final class Task {
private final Offer offer;
private final TaskInfo taskInfo;
Expand Down

0 comments on commit 9798be0

Please sign in to comment.