| Constructor and Description |
|---|
MapBasedProtocolDef(Map<String,String> parameters) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Integer> |
getBatchIntervalMs()
Messages are aggregated in batches before being dispatched.
|
Optional<Integer> |
getBatchSize()
Messages are aggregated in batches before being dispatched.
|
String |
getName()
The name of the protocol.
|
Optional<Integer> |
getNumThreads()
Number of threads used for consuming/dispatching messages.
|
List<? extends Package> |
getPackages()
Packages may contain settings for specific sources.
|
Optional<Integer> |
getQueueSize()
Maximum number of messages to keep in memory while waiting
to be dispatched.
|
public String getName()
Protocolpublic Optional<Integer> getNumThreads()
ProtocolgetNumThreads in interface Protocolpublic Optional<Integer> getBatchSize()
ProtocolgetBatchSize in interface Protocolpublic Optional<Integer> getBatchIntervalMs()
ProtocolgetBatchIntervalMs in interface Protocolpublic Optional<Integer> getQueueSize()
ProtocolgetQueueSize in interface Protocolpublic List<? extends Package> getPackages()
ProtocolgetPackages in interface ProtocolCopyright © 2018. All rights reserved.