Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.vmware.vapi.data.StructValue __dynamicStructureFields  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        FastPathStats()
      Default constructor.
      protected FastPathStats​(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()  
      boolean equals​(java.lang.Object obj)  
      java.lang.Long getFlowTableOccupancy0Pct()
      The number of flow tables in which up to 25% of entries are filled.
      java.lang.Long getFlowTableOccupancy25Pct()
      The number of flow tables in which 25-50% of entries are filled.
      java.lang.Long getFlowTableOccupancy50Pct()
      The number of flow tables in which 50-75% of entries are filled.
      java.lang.Long getFlowTableOccupancy75Pct()
      The number of flow tables in which 75-90% of entries are filled.
      java.lang.Long getFlowTableOccupancy90Pct()
      The number of flow tables in which 90-95% of entries are filled.
      java.lang.Long getFlowTableOccupancy95Pct()
      The number of flow tables in which 95% of entries are filled.
      java.lang.Long getFlowTableSize()
      The number of flow table entries in a flow table.
      java.lang.Long getHits()
      Number of flow hits.
      java.lang.Long getInsertionErrors()
      The number of flow insertion failures.
      java.lang.Long getMiss()
      Packets that are processed by slowpath because of a flow miss.
      java.lang.Long getNumFlows()
      Total number of flows in all flow tables.
      java.lang.Long getNumFlowsCreated()
      Total number of flows created.
      java.lang.Long getNumFlowTables()
      Num of flow tables on the host.
      java.lang.Long getSlowpath()
      Packets that are always targeted to be processed by slowpath such as broadcast/multicast packets.
      int hashCode()  
      void setFlowTableOccupancy0Pct​(java.lang.Long flowTableOccupancy0Pct)
      The number of flow tables in which up to 25% of entries are filled.
      void setFlowTableOccupancy25Pct​(java.lang.Long flowTableOccupancy25Pct)
      The number of flow tables in which 25-50% of entries are filled.
      void setFlowTableOccupancy50Pct​(java.lang.Long flowTableOccupancy50Pct)
      The number of flow tables in which 50-75% of entries are filled.
      void setFlowTableOccupancy75Pct​(java.lang.Long flowTableOccupancy75Pct)
      The number of flow tables in which 75-90% of entries are filled.
      void setFlowTableOccupancy90Pct​(java.lang.Long flowTableOccupancy90Pct)
      The number of flow tables in which 90-95% of entries are filled.
      void setFlowTableOccupancy95Pct​(java.lang.Long flowTableOccupancy95Pct)
      The number of flow tables in which 95% of entries are filled.
      void setFlowTableSize​(java.lang.Long flowTableSize)
      The number of flow table entries in a flow table.
      void setHits​(java.lang.Long hits)
      Number of flow hits.
      void setInsertionErrors​(java.lang.Long insertionErrors)
      The number of flow insertion failures.
      void setMiss​(java.lang.Long miss)
      Packets that are processed by slowpath because of a flow miss.
      void setNumFlows​(java.lang.Long numFlows)
      Total number of flows in all flow tables.
      void setNumFlowsCreated​(java.lang.Long numFlowsCreated)
      Total number of flows created.
      void setNumFlowTables​(java.lang.Long numFlowTables)
      Num of flow tables on the host.
      void setSlowpath​(java.lang.Long slowpath)
      Packets that are always targeted to be processed by slowpath such as broadcast/multicast packets.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • __dynamicStructureFields

        protected com.vmware.vapi.data.StructValue __dynamicStructureFields
    • Constructor Detail

      • FastPathStats

        public FastPathStats()
        Default constructor.
      • FastPathStats

        protected FastPathStats​(com.vmware.vapi.data.StructValue __dynamicStructureFields)
    • 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:
        _getType in interface com.vmware.vapi.bindings.StaticStructure
      • _getDataValue

        public com.vmware.vapi.data.StructValue _getDataValue()
        Specified by:
        _getDataValue in interface com.vmware.vapi.bindings.Structure
      • _updateDataValue

        protected void _updateDataValue​(com.vmware.vapi.data.StructValue structValue)
      • _validate

        public void _validate()
        Specified by:
        _validate in interface com.vmware.vapi.bindings.StaticStructure
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.vmware.vapi.bindings.StaticStructure
        Overrides:
        toString in class java.lang.Object
      • _hasTypeNameOf

        public boolean _hasTypeNameOf​(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
        Specified by:
        _hasTypeNameOf in interface com.vmware.vapi.bindings.Structure
      • _convertTo

        public <T extends com.vmware.vapi.bindings.Structure> T _convertTo​(java.lang.Class<T> clazz)
        Specified by:
        _convertTo in interface com.vmware.vapi.bindings.Structure
      • _setDynamicField

        public void _setDynamicField​(java.lang.String fieldName,
                                     com.vmware.vapi.data.DataValue fieldValue)
        Specified by:
        _setDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicField

        public com.vmware.vapi.data.DataValue _getDynamicField​(java.lang.String fieldName)
        Specified by:
        _getDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicFieldNames

        public java.util.Set<java.lang.String> _getDynamicFieldNames()
        Specified by:
        _getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructure
      • _getClassType

        public static com.vmware.vapi.bindings.type.StructType _getClassType()
        WARNING: Internal method, subject to change in future versions.
        Returns:
        StructType instance representing the static bindings type for this Structure.
      • _getCanonicalName

        public java.lang.String _getCanonicalName()
        Specified by:
        _getCanonicalName in interface com.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.