R
- the payload row class which has to match the models row class as created by BufferedMOTableModel.rowFactory
.protected class BufferedMOTableModel.BufferedMOTableRow<R extends MOTableRow> extends Object implements MOTableRow<Variable>
Constructor and Description |
---|
BufferedMOTableRow(R bufferedRow)
Creates a new buffer row for the specified payload row.
|
Modifier and Type | Method and Description |
---|---|
MOTableRow |
getBaseRow() |
R |
getBufferedRow()
Returns the buffered row.
|
OID |
getIndex() |
long |
getLastRefresh()
Returns the time when this buffered row has been refreshed from the backend last.
|
BufferedMOTableModel.BufferedMOTableRow<R> |
getNextRow()
Gets the immediately following row in the buffer.
|
Variable |
getValue(int column) |
void |
setBaseRow(MOTableRow baseRow) |
void |
setBufferedRow(R bufferedRow) |
void |
setLastRefresh(long lastRefresh)
Sets the time when this buffered row has been refreshed from the backend last.
|
void |
setNextRow(BufferedMOTableModel.BufferedMOTableRow<R> nextRow)
Sets the immediately following row in the buffer.
|
int |
size() |
public BufferedMOTableRow(R bufferedRow)
getLastRefresh()
time to the current time.bufferedRow
- the buffered payload row.public R getBufferedRow()
public void setBufferedRow(R bufferedRow)
public BufferedMOTableModel.BufferedMOTableRow<R> getNextRow()
null
if such a row
has not been buffered yet.public void setNextRow(BufferedMOTableModel.BufferedMOTableRow<R> nextRow)
nextRow
- the immediate successor row and null
if such a row
has not been buffered yet.public OID getIndex()
getIndex
in interface MOTableRow<Variable>
public Variable getValue(int column)
getValue
in interface MOTableRow<Variable>
public MOTableRow getBaseRow()
getBaseRow
in interface MOTableRow<Variable>
public void setBaseRow(MOTableRow baseRow)
setBaseRow
in interface MOTableRow<Variable>
public int size()
size
in interface MOTableRow<Variable>
public long getLastRefresh()
public void setLastRefresh(long lastRefresh)
lastRefresh
- the last refresh time in nanoseconds.Copyright © 2016 SNMP4J.org. All rights reserved.