Class PollableSnmpInterfaceConfig
- java.lang.Object
-
- org.opennms.netmgt.snmpinterfacepoller.pollable.PollableSnmpInterfaceConfig
-
- All Implemented Interfaces:
ScheduleInterval
public class PollableSnmpInterfaceConfig extends java.lang.Object implements ScheduleInterval
Represents a PollableSnmpInterfaceConfig- Version:
- $Id: $
- Author:
- Antonio Russo
-
-
Constructor Summary
Constructors Constructor Description PollableSnmpInterfaceConfig(Timer timer, long interval)
Constructor for PollableSnmpInterfaceConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCurrentTime()
getCurrentTimelong
getInterval()
Getter for the fieldinterval
.boolean
scheduledSuspension()
scheduledSuspension
-
-
-
Method Detail
-
getInterval
public long getInterval()
Getter for the field
interval
.- Specified by:
getInterval
in interfaceScheduleInterval
- Returns:
- a long.
-
scheduledSuspension
public boolean scheduledSuspension()
scheduledSuspension
- Specified by:
scheduledSuspension
in interfaceScheduleInterval
- Returns:
- a boolean.
-
getCurrentTime
public long getCurrentTime()
getCurrentTime
- Returns:
- a long.
-
-