Package org.onosproject.net.pi.model
Class PiCounterId
- java.lang.Object
-
- org.onlab.util.Identifier<java.lang.String>
-
- org.onosproject.net.pi.model.PiCounterId
-
@Beta public final class PiCounterId extends Identifier<java.lang.String>
Identifier of a counter in a protocol-independent pipeline, unique within the scope of a pipeline model.
-
-
Field Summary
-
Fields inherited from class org.onlab.util.Identifier
identifier
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PiCounterId
of(java.lang.String name)
Returns an identifier for the given counter name.-
Methods inherited from class org.onlab.util.Identifier
equals, hashCode, id, toString
-
-
-
-
Method Detail
-
of
public static PiCounterId of(java.lang.String name)
Returns an identifier for the given counter name.- Parameters:
name
- counter name- Returns:
- counter ID
-
-