NMS-6682: Initial revision of Pop3Monitor

http://issues.opennms.org/browse/NMS-6682
yes, that's a good question I wanted to ask....

In the code it's used like that:

    m_strictTimeouts = ParameterMap.getKeyedBoolean(parameters,
"strict-timeout", false);

    public void startAttempt() {
        long now = System.nanoTime();
        while (*m_strictTimeouts* && now < m_nextRetryTimeNanos) {
            sleep(m_nextRetryTimeNanos - now);
            now = System.nanoTime();
        }

        m_attemptStartTimeNanos = System.nanoTime();
        m_nextRetryTimeNanos = m_attemptStartTimeNanos + m_timeoutInNanos;

    }


aahh...... Seem's like it's meant to make sure that there's at least
"timeout" milliseconds between attempts




On Thu, Jul 24, 2014 at 11:37 AM, mvrueden <notifications@github.com> wrote:

> In opennms-doc/guide-admin/src/asciidoc/text/poller/Pop3Monitor.adoc:
>
> > +
> > +[options="autowidth"]
> > +|===
> > +| Class Name     | `org.opennms.netmgt.poller.monitors.Pop3Monitor`
> > +| Remote Enabled | true
> > +|===
> > +
> > +==== Configuration and Usage
> > +
> > +.Monitor specific parameters for the Pop3Monitor
> > +[options="header, autowidth"]
> > +|===
> > +| Parameter            | Description                                                                                | Required | Default value
> > +| `port`               | TCP port to connect to.                                                                    | optional | `110`
> > +| `retry`              | Number of attempts to get a response.                                                      | optional | `0`
> > +| `strict-timeout`     | Boolean                                                                                    | optional | `false`
>
> What is a strict-timeout?
> How is it different to a (normal) 'timeout`?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/OpenNMS/opennms/pull/83/files#r15337921>.
>