Package org.opends.server.snmp
Class DsTableEntryImpl
- java.lang.Object
-
- org.opends.server.snmp.DsTableEntry
-
- org.opends.server.snmp.DsTableEntryImpl
-
- All Implemented Interfaces:
Serializable,DsEntry,DsTableEntryMBean
public class DsTableEntryImpl extends DsTableEntry implements DsEntry
The class is used for implementing the "DsTableEntry" group implementation. The group is defined with the following oid: 1.3.6.1.2.1.66.1.1.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.opends.server.snmp.DsTableEntry
ApplIndex, DsCacheEntries, DsCacheHits, DsCopyEntries, DsMasterEntries, DsServerDescription, DsServerType, DsSlaveHits
-
-
Constructor Summary
Constructors Constructor Description DsTableEntryImpl(com.sun.management.snmp.agent.SnmpMib mib, MBeanServer server, int index)Creates a DsTableEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetDsCacheEntries()Getter for the "DsCacheEntries" variable.LonggetDsCacheHits()Getter for the "DsCacheHits" variable.LonggetDsMasterEntries()Getter for the "DsMasterEntries" variable.StringgetDsServerDescription()Getter for the "DsServerDescription" variable.Byte[]getDsServerType()Getter for the "DsServerType" variable.ObjectNamegetObjectName()Gets the object of the entry.-
Methods inherited from class org.opends.server.snmp.DsTableEntry
getApplIndex, getDsCopyEntries, getDsSlaveHits
-
-
-
-
Constructor Detail
-
DsTableEntryImpl
public DsTableEntryImpl(com.sun.management.snmp.agent.SnmpMib mib, MBeanServer server, int index)Creates a DsTableEntry.- Parameters:
mib- the SNMP Mib where the entry will be createdserver- where the mapping objects will be foundindex- of the entry in the DsTable
-
-
Method Detail
-
getDsServerType
public Byte[] getDsServerType()
Getter for the "DsServerType" variable.- Specified by:
getDsServerTypein interfaceDsTableEntryMBean- Overrides:
getDsServerTypein classDsTableEntry- Returns:
- a Byte[] representing the Ds Server Type
-
getDsCacheHits
public Long getDsCacheHits()
Getter for the "DsCacheHits" variable.- Specified by:
getDsCacheHitsin interfaceDsTableEntryMBean- Overrides:
getDsCacheHitsin classDsTableEntry- Returns:
- DsCacheHits as Long
-
getDsCacheEntries
public Long getDsCacheEntries()
Getter for the "DsCacheEntries" variable.- Specified by:
getDsCacheEntriesin interfaceDsTableEntryMBean- Overrides:
getDsCacheEntriesin classDsTableEntry- Returns:
- DsCacheEntries as Long
-
getDsMasterEntries
public Long getDsMasterEntries()
Getter for the "DsMasterEntries" variable.- Specified by:
getDsMasterEntriesin interfaceDsTableEntryMBean- Overrides:
getDsMasterEntriesin classDsTableEntry- Returns:
- DsMasterEntries as Long
-
getDsServerDescription
public String getDsServerDescription()
Getter for the "DsServerDescription" variable.- Specified by:
getDsServerDescriptionin interfaceDsTableEntryMBean- Overrides:
getDsServerDescriptionin classDsTableEntry- Returns:
- DsServerDescription as String
-
getObjectName
public ObjectName getObjectName()
Gets the object of the entry.- Specified by:
getObjectNamein interfaceDsEntry- Returns:
- ObjectName of the entry
-
-