public class RenewableResourceCapacityTracker extends ResourceCapacityTracker
| Modifier and Type | Field and Description |
|---|---|
protected int |
capacityEveryDay |
protected int |
hardScore |
protected Map<Integer,Integer> |
usedPerDay |
resource| Constructor and Description |
|---|
RenewableResourceCapacityTracker(Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHardScore() |
void |
insert(ResourceRequirement resourceRequirement,
Allocation allocation) |
void |
retract(ResourceRequirement resourceRequirement,
Allocation allocation) |
public RenewableResourceCapacityTracker(Resource resource)
public void insert(ResourceRequirement resourceRequirement, Allocation allocation)
insert in class ResourceCapacityTrackerpublic void retract(ResourceRequirement resourceRequirement, Allocation allocation)
retract in class ResourceCapacityTrackerpublic int getHardScore()
getHardScore in class ResourceCapacityTrackerCopyright © 2006–2015 JBoss by Red Hat. All rights reserved.