public final class DefaultMeterFeatures extends Object implements MeterFeatures
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DefaultMeterFeatures.Builder
A DefaultMeterFeatures builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Band.Type> | 
bandTypes()
Returns band types supported. 
 | 
static DefaultMeterFeatures.Builder | 
builder()  | 
DeviceId | 
deviceId()
Return the device id to which this meter features apply. 
 | 
Set<MeterFeaturesFlag> | 
features()
Returns features flags that supported for meter actions by device. 
 | 
boolean | 
isBurstSupported()
Returns if burst size is available. 
 | 
boolean | 
isStatsSupported()
Returns if statistics collection is available. 
 | 
short | 
maxBands()
Returns the maximum bands per meter. 
 | 
short | 
maxColor()
Returns the maximum colors value for DiffServ operation. 
 | 
long | 
maxMeter()
Returns the maximum number of meters accepted by the device. 
 | 
static MeterFeatures | 
noMeterFeatures(DeviceId deviceId)  | 
String | 
toString()  | 
Set<Meter.Unit> | 
unitTypes()
Returns unit types available for meters. 
 | 
public DeviceId deviceId()
MeterFeaturesdeviceId in interface MeterFeaturespublic long maxMeter()
MeterFeaturesmaxMeter in interface MeterFeaturespublic Set<Band.Type> bandTypes()
MeterFeaturesbandTypes in interface MeterFeaturespublic Set<Meter.Unit> unitTypes()
MeterFeaturesunitTypes in interface MeterFeaturespublic boolean isBurstSupported()
MeterFeaturesisBurstSupported in interface MeterFeaturespublic boolean isStatsSupported()
MeterFeaturesisStatsSupported in interface MeterFeaturespublic short maxBands()
MeterFeaturesmaxBands in interface MeterFeaturespublic short maxColor()
MeterFeaturesmaxColor in interface MeterFeaturespublic Set<MeterFeaturesFlag> features()
MeterFeaturesfeatures in interface MeterFeaturespublic static DefaultMeterFeatures.Builder builder()
public static MeterFeatures noMeterFeatures(DeviceId deviceId)