Constructor and Description |
---|
Protocol() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Adapter> |
getAdapters() |
Optional<Integer> |
getBatchIntervalMs()
Messages are aggregated in batches before being dispatched.
|
Optional<Integer> |
getBatchSize()
Messages are aggregated in batches before being dispatched.
|
String |
getDescription() |
Boolean |
getEnabled() |
List<Listener> |
getListeners() |
String |
getName()
The name of the protocol.
|
Optional<Integer> |
getNumThreads()
Number of threads used for consuming/dispatching messages.
|
List<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.
|
int |
hashCode() |
void |
setAdapters(List<Adapter> adapters) |
void |
setBatchIntervalMs(Integer batchIntervalMs) |
void |
setBatchSize(Integer batchSize) |
void |
setDescription(String description) |
void |
setEnabled(Boolean enabled) |
void |
setListeners(List<Listener> listeners) |
void |
setName(String name) |
void |
setNumThreads(Integer numThreads) |
void |
setPackages(List<Package> packages) |
void |
setQueueSize(Integer queueSize) |
String |
toString() |
public String getName()
Protocol
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public Optional<Integer> getNumThreads()
Protocol
getNumThreads
in interface Protocol
public void setNumThreads(Integer numThreads)
public Optional<Integer> getBatchSize()
Protocol
getBatchSize
in interface Protocol
public void setBatchSize(Integer batchSize)
public Optional<Integer> getBatchIntervalMs()
Protocol
getBatchIntervalMs
in interface Protocol
public void setBatchIntervalMs(Integer batchIntervalMs)
public Optional<Integer> getQueueSize()
Protocol
getQueueSize
in interface Protocol
public void setQueueSize(Integer queueSize)
public List<Package> getPackages()
Protocol
getPackages
in interface Protocol
Copyright © 2019. All rights reserved.