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()
Protocol
public Optional<Integer> getNumThreads()
Protocol
getNumThreads
in interface Protocol
public Optional<Integer> getBatchSize()
Protocol
getBatchSize
in interface Protocol
public Optional<Integer> getBatchIntervalMs()
Protocol
getBatchIntervalMs
in interface Protocol
public Optional<Integer> getQueueSize()
Protocol
getQueueSize
in interface Protocol
public List<? extends Package> getPackages()
Protocol
getPackages
in interface Protocol
Copyright © 2019. All rights reserved.