blob: 38e5137d63a15b8ec0514019f2a4db70ee2c1bc3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vector>
#include <vespa/storage/distributor/maintenance/prioritizedbucket.h>
#include <vespa/storage/distributor/maintenance/maintenancepriorityandtype.h>
#include <vespa/storage/distributor/maintenance/node_maintenance_stats_tracker.h>
namespace storage {
namespace distributor {
class MaintenancePriorityGenerator
{
public:
virtual ~MaintenancePriorityGenerator() {}
virtual MaintenancePriorityAndType prioritize(
const document::BucketId&,
NodeMaintenanceStatsTracker&) const = 0;
};
}
}
|