public interface ForwarderModule
| Modifier and Type | Interface and Description |
|---|---|
static class |
ForwarderModule.Abstract
Abstract forwarder module.
|
| Modifier and Type | Method and Description |
|---|---|
BatchControl |
getBatchControl()
Gets the batch control.
|
Config |
getConfig()
Gets the configuration.
|
Service |
getService()
Gets the owner of this module.
|
boolean |
isReliable()
Asks if the module is reliable.
|
boolean |
needsMetadata()
Asks if this module needs metadata.
|
boolean |
onMetadataRefreshed()
Called when the metadata should be refreshed.
|
boolean |
setUp(ForwarderServiceAppImpl forwarderApp,
KeyedGroups moduleProperties)
Sets up this module.
|
void |
start()
Starts this module.
|
void |
stop()
Stops this module.
|
void |
tearDown()
Tears down what has been set up.
|
@Nonnull @CheckReturnValue BatchControl getBatchControl()
@Nonnull @CheckReturnValue Config getConfig()
@Nonnull @CheckReturnValue Service getService()
@CheckReturnValue boolean isReliable()
@CheckReturnValue boolean needsMetadata()
@CheckReturnValue boolean onMetadataRefreshed()
@CheckReturnValue
boolean setUp(@Nonnull
ForwarderServiceAppImpl forwarderApp,
@Nonnull
KeyedGroups moduleProperties)
forwarderApp - The owner of this module.moduleProperties - The module properties.void start()
throws InterruptedException,
ServiceNotAvailableException
InterruptedException - When appropriate.ServiceNotAvailableException - When the service is not available.void stop()
void tearDown()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.