Package org.onosproject.net.pi.runtime
Class PiCounterCellHandle
- java.lang.Object
- 
- org.onosproject.net.pi.runtime.PiHandle
- 
- org.onosproject.net.pi.runtime.PiCounterCellHandle
 
 
- 
 public final class PiCounterCellHandle extends PiHandle Global identifier of a PI counter cell instantiated on a device, uniquely defined by a device ID and cell ID.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PiCounterCellIdcellId()Returns the counter cell ID associated with this handle.PiEntityTypeentityType()Returns the type of entity identified by this handle.booleanequals(Object obj)inthashCode()static PiCounterCellHandleof(DeviceId deviceId, PiCounterCell cell)Creates a new handle for the given device ID and counter cell.static PiCounterCellHandleof(DeviceId deviceId, PiCounterCellId cellId)Creates a new handle for the given device ID and counter cell ID.StringtoString()
 
- 
- 
- 
Method Detail- 
ofpublic static PiCounterCellHandle of(DeviceId deviceId, PiCounterCellId cellId) Creates a new handle for the given device ID and counter cell ID.- Parameters:
- deviceId- device ID
- cellId- counter cell ID
- Returns:
- new counter cell handle
 
 - 
ofpublic static PiCounterCellHandle of(DeviceId deviceId, PiCounterCell cell) Creates a new handle for the given device ID and counter cell.- Parameters:
- deviceId- device ID
- cell- counter cell
- Returns:
- new counter cell handle
 
 - 
cellIdpublic PiCounterCellId cellId() Returns the counter cell ID associated with this handle.- Returns:
- counter cell ID
 
 - 
entityTypepublic PiEntityType entityType() Description copied from class:PiHandleReturns the type of entity identified by this handle.- Specified by:
- entityTypein class- PiHandle
- Returns:
- PI entity type
 
 
- 
 
-