R - the payload row class which has to match the models row class as created by BufferedMOTableModel.rowFactory.protected class BufferedMOTableModel.BufferedMOTableRow<R extends org.snmp4j.agent.mo.MOTableRow> extends Object implements org.snmp4j.agent.mo.MOTableRow<org.snmp4j.smi.Variable>
| Constructor and Description |
|---|
BufferedMOTableRow(R bufferedRow)
Creates a new buffer row for the specified payload row.
|
| Modifier and Type | Method and Description |
|---|---|
org.snmp4j.agent.mo.MOTableRow |
getBaseRow() |
R |
getBufferedRow()
Returns the buffered row.
|
org.snmp4j.smi.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.
|
org.snmp4j.smi.Variable |
getValue(int column) |
void |
setBaseRow(org.snmp4j.agent.mo.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 org.snmp4j.smi.OID getIndex()
getIndex in interface org.snmp4j.agent.mo.MOTableRow<org.snmp4j.smi.Variable>public org.snmp4j.smi.Variable getValue(int column)
getValue in interface org.snmp4j.agent.mo.MOTableRow<org.snmp4j.smi.Variable>public org.snmp4j.agent.mo.MOTableRow getBaseRow()
getBaseRow in interface org.snmp4j.agent.mo.MOTableRow<org.snmp4j.smi.Variable>public void setBaseRow(org.snmp4j.agent.mo.MOTableRow baseRow)
setBaseRow in interface org.snmp4j.agent.mo.MOTableRow<org.snmp4j.smi.Variable>public int size()
size in interface org.snmp4j.agent.mo.MOTableRow<org.snmp4j.smi.Variable>public long getLastRefresh()
public void setLastRefresh(long lastRefresh)
lastRefresh - the last refresh time in nanoseconds.Copyright © 2020 SNMP4J.org. All rights reserved.