public abstract class AbstractLoadMetric extends Object implements LoadMetric
LoadMetric
implementation with basic mutators/accessors.DEFAULT_CAPACITY, DEFAULT_WEIGHT
Constructor and Description |
---|
AbstractLoadMetric() |
Modifier and Type | Method and Description |
---|---|
double |
getCapacity() |
int |
getWeight() |
void |
setCapacity(double capacity) |
void |
setWeight(int weight) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoad
public int getWeight()
getWeight
in interface LoadMetricMBean
public void setWeight(int weight)
setWeight
in interface LoadMetricMBean
public double getCapacity()
getCapacity
in interface LoadMetricMBean
public void setCapacity(double capacity)
setCapacity
in interface LoadMetricMBean
Copyright © 2018 JBoss by Red Hat. All rights reserved.