Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import java.util.Set;
import java.util.concurrent.CompletableFuture;

final class PendingRequest implements WeightLoadable {
public final class PendingRequest implements WeightLoadable {

private final SlotRequestId slotRequestId;

Expand Down Expand Up @@ -72,7 +72,7 @@ static PendingRequest createBatchRequest(
slotRequestId, resourceProfile, loadingWeight, preferredAllocations, true);
}

static PendingRequest createNormalRequest(
public static PendingRequest createNormalRequest(
SlotRequestId slotRequestId,
ResourceProfile resourceProfile,
LoadingWeight loadingWeight,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public boolean willSlotBeOccupiedIndefinitely() {
return slotWillBeOccupiedIndefinitely;
}

PendingRequest toPendingRequest() {
public PendingRequest toPendingRequest() {
return slotWillBeOccupiedIndefinitely
? PendingRequest.createNormalRequest(
slotRequestId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* belong to the same SlotSharingGroup, tend to be put in the same ExecutionSlotSharingGroup.
* Co-location constraints will be respected.
*/
class LocalInputPreferredSlotSharingStrategy extends AbstractSlotSharingStrategy {
public class LocalInputPreferredSlotSharingStrategy extends AbstractSlotSharingStrategy {

LocalInputPreferredSlotSharingStrategy(
final SchedulingTopology topology,
Expand All @@ -56,7 +56,7 @@ class LocalInputPreferredSlotSharingStrategy extends AbstractSlotSharingStrategy
super(topology, logicalSlotSharingGroups, coLocationGroups);
}

static class Factory implements SlotSharingStrategy.Factory {
public static class Factory implements SlotSharingStrategy.Factory {

public LocalInputPreferredSlotSharingStrategy create(
final SchedulingTopology topology,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import java.util.Set;

/** Strategy which determines {@link ExecutionSlotSharingGroup} for each execution vertex. */
interface SlotSharingStrategy {
public interface SlotSharingStrategy {

ExecutionSlotSharingGroup getExecutionSlotSharingGroup(ExecutionVertexID executionVertexId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* the same SlotSharingGroup, tend to be put evenly in each ExecutionSlotSharingGroup. Co-location
* constraints will be respected.
*/
class TaskBalancedPreferredSlotSharingStrategy extends AbstractSlotSharingStrategy {
public class TaskBalancedPreferredSlotSharingStrategy extends AbstractSlotSharingStrategy {

public static final Logger LOG =
LoggerFactory.getLogger(TaskBalancedPreferredSlotSharingStrategy.class);
Expand All @@ -57,7 +57,7 @@ protected Map<ExecutionVertexID, ExecutionSlotSharingGroup> computeExecutionSlot
.build();
}

static class Factory implements SlotSharingStrategy.Factory {
public static class Factory implements SlotSharingStrategy.Factory {

public TaskBalancedPreferredSlotSharingStrategy create(
final SchedulingTopology topology,
Expand Down