@Beta
public interface PiCounterModel
| Modifier and Type | Interface and Description |
|---|---|
static class |
PiCounterModel.Unit
Counter unit.
|
| Modifier and Type | Method and Description |
|---|---|
PiCounterType |
counterType()
Returns the type of counter.
|
PiCounterId |
id()
Returns the ID of this counter.
|
long |
size()
Returns the number of cells of this counter.
|
PiTableId |
table()
Returns the table ID associated with this counter.
|
PiCounterModel.Unit |
unit()
Returns the unit of this counter.
|
PiCounterId id()
PiCounterType counterType()
PiCounterModel.Unit unit()
PiTableId table()
PiCounterType.DIRECT.long size()
PiCounterType.INDIRECT.