Package com.vmware.nsx_policy.model
Class FastPathStats
- java.lang.Object
-
- com.vmware.nsx_policy.model.FastPathStats
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure,com.vmware.vapi.bindings.Structure,java.io.Serializable
public final class FastPathStats extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFastPathStats.BuilderBuilder class forFastPathStats.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue__dynamicStructureFields
-
Constructor Summary
Constructors Modifier Constructor Description FastPathStats()Default constructor.protectedFastPathStats(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_convertTo(java.lang.Class<T> clazz)java.lang.String_getCanonicalName()static java.lang.String_getCanonicalTypeName()Returns the canonical type name.static com.vmware.vapi.bindings.type.StructType_getClassType()WARNING: Internal method, subject to change in future versions.com.vmware.vapi.data.StructValue_getDataValue()com.vmware.vapi.data.DataValue_getDynamicField(java.lang.String fieldName)java.util.Set<java.lang.String>_getDynamicFieldNames()com.vmware.vapi.bindings.type.StructType_getType()boolean_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)static FastPathStats_newInstance(com.vmware.vapi.data.StructValue structValue)WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.static FastPathStats_newInstance2(com.vmware.vapi.data.StructValue structValue)WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.void_setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)protected void_updateDataValue(com.vmware.vapi.data.StructValue structValue)void_validate()booleanequals(java.lang.Object obj)java.lang.LonggetFlowTableOccupancy0Pct()The number of flow tables in which up to 25% of entries are filled.java.lang.LonggetFlowTableOccupancy25Pct()The number of flow tables in which 25-50% of entries are filled.java.lang.LonggetFlowTableOccupancy50Pct()The number of flow tables in which 50-75% of entries are filled.java.lang.LonggetFlowTableOccupancy75Pct()The number of flow tables in which 75-90% of entries are filled.java.lang.LonggetFlowTableOccupancy90Pct()The number of flow tables in which 90-95% of entries are filled.java.lang.LonggetFlowTableOccupancy95Pct()The number of flow tables in which 95% of entries are filled.java.lang.LonggetFlowTableSize()The number of flow table entries in a flow table.java.lang.LonggetHits()Number of flow hits.java.lang.LonggetInsertionErrors()The number of flow insertion failures.java.lang.LonggetMiss()Packets that are processed by slowpath because of a flow miss.java.lang.LonggetNumFlows()Total number of flows in all flow tables.java.lang.LonggetNumFlowsCreated()Total number of flows created.java.lang.LonggetNumFlowTables()Num of flow tables on the host.java.lang.LonggetSlowpath()Packets that are always targeted to be processed by slowpath such as broadcast/multicast packets.inthashCode()voidsetFlowTableOccupancy0Pct(java.lang.Long flowTableOccupancy0Pct)The number of flow tables in which up to 25% of entries are filled.voidsetFlowTableOccupancy25Pct(java.lang.Long flowTableOccupancy25Pct)The number of flow tables in which 25-50% of entries are filled.voidsetFlowTableOccupancy50Pct(java.lang.Long flowTableOccupancy50Pct)The number of flow tables in which 50-75% of entries are filled.voidsetFlowTableOccupancy75Pct(java.lang.Long flowTableOccupancy75Pct)The number of flow tables in which 75-90% of entries are filled.voidsetFlowTableOccupancy90Pct(java.lang.Long flowTableOccupancy90Pct)The number of flow tables in which 90-95% of entries are filled.voidsetFlowTableOccupancy95Pct(java.lang.Long flowTableOccupancy95Pct)The number of flow tables in which 95% of entries are filled.voidsetFlowTableSize(java.lang.Long flowTableSize)The number of flow table entries in a flow table.voidsetHits(java.lang.Long hits)Number of flow hits.voidsetInsertionErrors(java.lang.Long insertionErrors)The number of flow insertion failures.voidsetMiss(java.lang.Long miss)Packets that are processed by slowpath because of a flow miss.voidsetNumFlows(java.lang.Long numFlows)Total number of flows in all flow tables.voidsetNumFlowsCreated(java.lang.Long numFlowsCreated)Total number of flows created.voidsetNumFlowTables(java.lang.Long numFlowTables)Num of flow tables on the host.voidsetSlowpath(java.lang.Long slowpath)Packets that are always targeted to be processed by slowpath such as broadcast/multicast packets.java.lang.StringtoString()
-
-
-
Method Detail
-
getFlowTableOccupancy0Pct
public java.lang.Long getFlowTableOccupancy0Pct()
The number of flow tables in which up to 25% of entries are filled. format: int32- Returns:
- The current value of the property.
-
setFlowTableOccupancy0Pct
public void setFlowTableOccupancy0Pct(java.lang.Long flowTableOccupancy0Pct)
The number of flow tables in which up to 25% of entries are filled. format: int32- Parameters:
flowTableOccupancy0Pct- New value for the property.
-
getFlowTableOccupancy25Pct
public java.lang.Long getFlowTableOccupancy25Pct()
The number of flow tables in which 25-50% of entries are filled. format: int32- Returns:
- The current value of the property.
-
setFlowTableOccupancy25Pct
public void setFlowTableOccupancy25Pct(java.lang.Long flowTableOccupancy25Pct)
The number of flow tables in which 25-50% of entries are filled. format: int32- Parameters:
flowTableOccupancy25Pct- New value for the property.
-
getFlowTableOccupancy50Pct
public java.lang.Long getFlowTableOccupancy50Pct()
The number of flow tables in which 50-75% of entries are filled. format: int32- Returns:
- The current value of the property.
-
setFlowTableOccupancy50Pct
public void setFlowTableOccupancy50Pct(java.lang.Long flowTableOccupancy50Pct)
The number of flow tables in which 50-75% of entries are filled. format: int32- Parameters:
flowTableOccupancy50Pct- New value for the property.
-
getFlowTableOccupancy75Pct
public java.lang.Long getFlowTableOccupancy75Pct()
The number of flow tables in which 75-90% of entries are filled. format: int32- Returns:
- The current value of the property.
-
setFlowTableOccupancy75Pct
public void setFlowTableOccupancy75Pct(java.lang.Long flowTableOccupancy75Pct)
The number of flow tables in which 75-90% of entries are filled. format: int32- Parameters:
flowTableOccupancy75Pct- New value for the property.
-
getFlowTableOccupancy90Pct
public java.lang.Long getFlowTableOccupancy90Pct()
The number of flow tables in which 90-95% of entries are filled. format: int32- Returns:
- The current value of the property.
-
setFlowTableOccupancy90Pct
public void setFlowTableOccupancy90Pct(java.lang.Long flowTableOccupancy90Pct)
The number of flow tables in which 90-95% of entries are filled. format: int32- Parameters:
flowTableOccupancy90Pct- New value for the property.
-
getFlowTableOccupancy95Pct
public java.lang.Long getFlowTableOccupancy95Pct()
The number of flow tables in which 95% of entries are filled. format: int32- Returns:
- The current value of the property.
-
setFlowTableOccupancy95Pct
public void setFlowTableOccupancy95Pct(java.lang.Long flowTableOccupancy95Pct)
The number of flow tables in which 95% of entries are filled. format: int32- Parameters:
flowTableOccupancy95Pct- New value for the property.
-
getFlowTableSize
public java.lang.Long getFlowTableSize()
The number of flow table entries in a flow table. format: int32- Returns:
- The current value of the property.
-
setFlowTableSize
public void setFlowTableSize(java.lang.Long flowTableSize)
The number of flow table entries in a flow table. format: int32- Parameters:
flowTableSize- New value for the property.
-
getHits
public java.lang.Long getHits()
Number of flow hits. format: int64- Returns:
- The current value of the property.
-
setHits
public void setHits(java.lang.Long hits)
Number of flow hits. format: int64- Parameters:
hits- New value for the property.
-
getInsertionErrors
public java.lang.Long getInsertionErrors()
The number of flow insertion failures. format: int64- Returns:
- The current value of the property.
-
setInsertionErrors
public void setInsertionErrors(java.lang.Long insertionErrors)
The number of flow insertion failures. format: int64- Parameters:
insertionErrors- New value for the property.
-
getMiss
public java.lang.Long getMiss()
Packets that are processed by slowpath because of a flow miss. This has no overlap with the slowpath counters. format: int64- Returns:
- The current value of the property.
-
setMiss
public void setMiss(java.lang.Long miss)
Packets that are processed by slowpath because of a flow miss. This has no overlap with the slowpath counters. format: int64- Parameters:
miss- New value for the property.
-
getNumFlowTables
public java.lang.Long getNumFlowTables()
Num of flow tables on the host. format: int32- Returns:
- The current value of the property.
-
setNumFlowTables
public void setNumFlowTables(java.lang.Long numFlowTables)
Num of flow tables on the host. format: int32- Parameters:
numFlowTables- New value for the property.
-
getNumFlows
public java.lang.Long getNumFlows()
Total number of flows in all flow tables. format: int32- Returns:
- The current value of the property.
-
setNumFlows
public void setNumFlows(java.lang.Long numFlows)
Total number of flows in all flow tables. format: int32- Parameters:
numFlows- New value for the property.
-
getNumFlowsCreated
public java.lang.Long getNumFlowsCreated()
Total number of flows created. format: int64- Returns:
- The current value of the property.
-
setNumFlowsCreated
public void setNumFlowsCreated(java.lang.Long numFlowsCreated)
Total number of flows created. format: int64- Parameters:
numFlowsCreated- New value for the property.
-
getSlowpath
public java.lang.Long getSlowpath()
Packets that are always targeted to be processed by slowpath such as broadcast/multicast packets. format: int64- Returns:
- The current value of the property.
-
setSlowpath
public void setSlowpath(java.lang.Long slowpath)
Packets that are always targeted to be processed by slowpath such as broadcast/multicast packets. format: int64- Parameters:
slowpath- New value for the property.
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName().- Returns:
- canonical type name
-
_newInstance
public static FastPathStats _newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value.
WARNING: The returned object is not fully initialized.- Parameters:
structValue- the source of the data contained in the binding object. Could contain more data than fields of this class can describe i.e. newer version of the binding object. Could be null.- Returns:
- the static bindings
StructType
-
_newInstance2
public static FastPathStats _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-