@Beta public final class PiIndirectCounterCellId extends Identifier<String> implements PiCounterCellId
identifier| Modifier and Type | Method and Description |
|---|---|
PiCounterId |
counterId()
Returns the identifier of the counter instance where this cell is contained.
|
long |
index()
Returns the index of this cell.
|
static PiIndirectCounterCellId |
of(PiCounterId counterId,
long index)
Returns a counter cell identifier for the given counter identifier and index.
|
PiCounterType |
type()
Returns the type of counter identified.
|
equals, hashCode, id, toStringpublic static PiIndirectCounterCellId of(PiCounterId counterId, long index)
counterId - counter identifierindex - indexpublic long index()
public PiCounterId counterId()
PiCounterCellIdcounterId in interface PiCounterCellIdpublic PiCounterType type()
PiCounterCellIdtype in interface PiCounterCellId