Module org.snmp4j.agent
Package org.snmp4j.agent.mo.snmp4j
Class Snmp4jConfigMib.Snmp4jCfgStorageEntryRow
java.lang.Object
org.snmp4j.agent.mo.DefaultMOTableRow
org.snmp4j.agent.mo.DefaultMOMutableRow2PC
org.snmp4j.agent.mo.snmp4j.Snmp4jConfigMib.Snmp4jCfgStorageEntryRow
- All Implemented Interfaces:
Comparable<MOTableRow>
,MOMutableRow2PC<SubRequest<?>>
,MOMutableTableRow
,MOTableRow
- Enclosing class:
Snmp4jConfigMib
-
Field Summary
Fields inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
index, values
-
Constructor Summary
ConstructorDescriptionSnmp4jCfgStorageEntryRow
(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) -
Method Summary
Modifier and TypeMethodDescriptionvoid
commitRow
(SubRequest<?> subRequest, MOTableRow changeSet) Commits a row as described by the supplied change set.org.snmp4j.smi.OctetString
org.snmp4j.smi.TimeTicks
org.snmp4j.smi.TimeTicks
org.snmp4j.smi.Integer32
org.snmp4j.smi.OctetString
org.snmp4j.smi.Integer32
org.snmp4j.smi.Integer32
org.snmp4j.smi.Integer32
void
prepareRow
(SubRequest<?> subRequest, MOTableRow changeSet) Prepares a row for changes described by the supplied change set.void
setSnmp4jCfgStorageID
(org.snmp4j.smi.OctetString newValue) void
setSnmp4jCfgStorageLastRestore
(org.snmp4j.smi.TimeTicks newValue) void
setSnmp4jCfgStorageLastStore
(org.snmp4j.smi.TimeTicks newValue) void
setSnmp4jCfgStorageOperation
(org.snmp4j.smi.Integer32 newValue) void
setSnmp4jCfgStoragePath
(org.snmp4j.smi.OctetString newValue) void
setSnmp4jCfgStorageRestoreMode
(org.snmp4j.smi.Integer32 newValue) void
setSnmp4jCfgStorageStatus
(org.snmp4j.smi.Integer32 newValue) void
setSnmp4jCfgStorageStorageType
(org.snmp4j.smi.Integer32 newValue) Methods inherited from class org.snmp4j.agent.mo.DefaultMOMutableRow2PC
cleanup, cleanupRow, commit, getBaseRow, getIndex, getResultingValue, getUserObject, getValue, prepare, setBaseRow, setUserObject, setValue, size, toString, undo, undoRow
Methods inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
compareTo, equals, getColumnValue, hashCode, toStringMembers
-
Constructor Details
-
Snmp4jCfgStorageEntryRow
public Snmp4jCfgStorageEntryRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
-
-
Method Details
-
getSnmp4jCfgStoragePath
public org.snmp4j.smi.OctetString getSnmp4jCfgStoragePath() -
setSnmp4jCfgStoragePath
public void setSnmp4jCfgStoragePath(org.snmp4j.smi.OctetString newValue) -
getSnmp4jCfgStorageID
public org.snmp4j.smi.OctetString getSnmp4jCfgStorageID() -
setSnmp4jCfgStorageID
public void setSnmp4jCfgStorageID(org.snmp4j.smi.OctetString newValue) -
getSnmp4jCfgStorageLastStore
public org.snmp4j.smi.TimeTicks getSnmp4jCfgStorageLastStore() -
setSnmp4jCfgStorageLastStore
public void setSnmp4jCfgStorageLastStore(org.snmp4j.smi.TimeTicks newValue) -
getSnmp4jCfgStorageLastRestore
public org.snmp4j.smi.TimeTicks getSnmp4jCfgStorageLastRestore() -
setSnmp4jCfgStorageLastRestore
public void setSnmp4jCfgStorageLastRestore(org.snmp4j.smi.TimeTicks newValue) -
getSnmp4jCfgStorageRestoreMode
public org.snmp4j.smi.Integer32 getSnmp4jCfgStorageRestoreMode() -
setSnmp4jCfgStorageRestoreMode
public void setSnmp4jCfgStorageRestoreMode(org.snmp4j.smi.Integer32 newValue) -
getSnmp4jCfgStorageOperation
public org.snmp4j.smi.Integer32 getSnmp4jCfgStorageOperation() -
setSnmp4jCfgStorageOperation
public void setSnmp4jCfgStorageOperation(org.snmp4j.smi.Integer32 newValue) -
getSnmp4jCfgStorageStorageType
public org.snmp4j.smi.Integer32 getSnmp4jCfgStorageStorageType() -
setSnmp4jCfgStorageStorageType
public void setSnmp4jCfgStorageStorageType(org.snmp4j.smi.Integer32 newValue) -
getSnmp4jCfgStorageStatus
public org.snmp4j.smi.Integer32 getSnmp4jCfgStorageStatus() -
setSnmp4jCfgStorageStatus
public void setSnmp4jCfgStorageStatus(org.snmp4j.smi.Integer32 newValue) -
prepareRow
Description copied from interface:MOMutableRow2PC
Prepares a row for changes described by the supplied change set. If the modification cannot be successfully prepared, the error status of the suppliedsubRequest
should be set to the appropriate error status value.This method is called only once per modified row.
- Specified by:
prepareRow
in interfaceMOMutableRow2PC<SubRequest<?>>
- Overrides:
prepareRow
in classDefaultMOMutableRow2PC
- Parameters:
subRequest
- the sub-request that triggered the row change and that can be used to deny the commit phase by setting its error status.changeSet
- a MOTableRow instance that represents the state of the row if all changes have been applied successfully.
-
commitRow
Description copied from interface:MOMutableRow2PC
Commits a row as described by the supplied change set. If the modification cannot be successfully committed, the error status of the suppliedsubRequest
should be set tocommitFailed
. Setting this error should be avoided under any circumstances.This method is called only once per modified row.
- Specified by:
commitRow
in interfaceMOMutableRow2PC<SubRequest<?>>
- Overrides:
commitRow
in classDefaultMOMutableRow2PC
- Parameters:
subRequest
- the sub-request that triggered the row change and that can be used to trigger the undo phase by setting its error status.changeSet
- a MOTableRow instance that represents the state of the row if all changes have been applied successfully.
-