org.opennms.netmgt.snmpinterfacepoller.pollable
Class PollableSnmpInterfaceConfig

java.lang.Object
  extended by org.opennms.netmgt.snmpinterfacepoller.pollable.PollableSnmpInterfaceConfig
All Implemented Interfaces:
ScheduleInterval

public class PollableSnmpInterfaceConfig
extends Object
implements ScheduleInterval

Represents a PollableSnmpInterfaceConfig

Version:
$Id: $
Author:
Antonio Russo

Constructor Summary
PollableSnmpInterfaceConfig(Timer timer, long interval)
          Constructor for PollableSnmpInterfaceConfig.
 
Method Summary
 long getCurrentTime()
          getCurrentTime
 long getInterval()
          Getter for the field interval.
 boolean scheduledSuspension()
          scheduledSuspension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollableSnmpInterfaceConfig

public PollableSnmpInterfaceConfig(Timer timer,
                                   long interval)

Constructor for PollableSnmpInterfaceConfig.

Parameters:
timer - a Timer object.
interval - a long.
Method Detail

getInterval

public long getInterval()

Getter for the field interval.

Specified by:
getInterval in interface ScheduleInterval
Returns:
a long.

scheduledSuspension

public boolean scheduledSuspension()

scheduledSuspension

Specified by:
scheduledSuspension in interface ScheduleInterval
Returns:
a boolean.

getCurrentTime

public long getCurrentTime()

getCurrentTime

Returns:
a long.


Copyright © 2011. All Rights Reserved.