Revision 541,
1.0 KB
checked in by wojtekp, 12 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package example.energy; |
---|
2 | |
---|
3 | import schedframe.Parameters; |
---|
4 | import schedframe.PluginConfiguration; |
---|
5 | import schedframe.resources.computing.ComputingResource; |
---|
6 | import schedframe.resources.computing.profiles.energy.EnergyEvent; |
---|
7 | import schedframe.resources.computing.profiles.energy.power.plugin.EnergyEstimationPlugin; |
---|
8 | import schedframe.scheduling.manager.tasks.JobRegistry; |
---|
9 | |
---|
10 | public abstract class BaseEnergyEstimationPlugin implements EnergyEstimationPlugin { |
---|
11 | |
---|
12 | @Override |
---|
13 | public PluginConfiguration getConfiguration() { |
---|
14 | // TODO Auto-generated method stub |
---|
15 | return null; |
---|
16 | } |
---|
17 | |
---|
18 | @Override |
---|
19 | public double estimateAirThroughput(EnergyEvent event, JobRegistry jobRegistry, ComputingResource resourceManager) { |
---|
20 | throw new RuntimeException("Not implemented."); |
---|
21 | } |
---|
22 | |
---|
23 | @Override |
---|
24 | public double estimateTemperature(EnergyEvent event, JobRegistry jobRegistry, ComputingResource resourceManager) { |
---|
25 | throw new RuntimeException("Not implemented."); |
---|
26 | } |
---|
27 | |
---|
28 | public void init(Parameters parameters) { |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
32 | public String getName() { |
---|
33 | return getClass().getName(); |
---|
34 | } |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.