Class FastPathStats.Builder

  • Enclosing class:
    FastPathStats

    public static final class FastPathStats.Builder
    extends java.lang.Object
    Builder class for FastPathStats.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of FastPathStats.
    • Method Detail

      • setFlowTableOccupancy0Pct

        public FastPathStats.Builder 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.
      • setFlowTableOccupancy25Pct

        public FastPathStats.Builder 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.
      • setFlowTableOccupancy50Pct

        public FastPathStats.Builder 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.
      • setFlowTableOccupancy75Pct

        public FastPathStats.Builder 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.
      • setFlowTableOccupancy90Pct

        public FastPathStats.Builder 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.
      • setFlowTableOccupancy95Pct

        public FastPathStats.Builder 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.
      • setFlowTableSize

        public FastPathStats.Builder setFlowTableSize​(java.lang.Long flowTableSize)
        The number of flow table entries in a flow table. format: int32
        Parameters:
        flowTableSize - New value for the property.
      • setHits

        public FastPathStats.Builder setHits​(java.lang.Long hits)
        Number of flow hits. format: int64
        Parameters:
        hits - New value for the property.
      • setInsertionErrors

        public FastPathStats.Builder setInsertionErrors​(java.lang.Long insertionErrors)
        The number of flow insertion failures. format: int64
        Parameters:
        insertionErrors - New value for the property.
      • setMiss

        public FastPathStats.Builder 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.
      • setNumFlowTables

        public FastPathStats.Builder setNumFlowTables​(java.lang.Long numFlowTables)
        Num of flow tables on the host. format: int32
        Parameters:
        numFlowTables - New value for the property.
      • setNumFlows

        public FastPathStats.Builder setNumFlows​(java.lang.Long numFlows)
        Total number of flows in all flow tables. format: int32
        Parameters:
        numFlows - New value for the property.
      • setNumFlowsCreated

        public FastPathStats.Builder setNumFlowsCreated​(java.lang.Long numFlowsCreated)
        Total number of flows created. format: int64
        Parameters:
        numFlowsCreated - New value for the property.
      • setSlowpath

        public FastPathStats.Builder 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.