public class OneTimePoller extends PollerImp implements LicensedComponent
Implementation of Poller
which only polls once upon start and never again.
In the adapter configuration file this class is aliased as triggered-one-time-poller which is the preferred alternative to the fully qualified classname when building your configuration.
License Required: STANDARD
PollerImp.Callback
Constructor and Description |
---|
OneTimePoller()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
init() |
boolean |
isEnabled(License license) |
void |
processMessages() |
attemptLock, registerConsumer, releaseLock, retrieveConsumer, withPollerCallback
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, start, stop
public boolean isEnabled(License license)
isEnabled
in interface LicensedComponent
public void init() throws CoreException
init
in interface ComponentLifecycle
CoreException
ComponentLifecycle.init()
public void processMessages()
processMessages
in class PollerImp