public abstract class BusTopicBase extends Object implements BusTopic, Topic
Topic.CommInfrastructure
Modifier and Type | Field and Description |
---|---|
protected String |
apiKey |
protected String |
apiSecret |
protected org.apache.commons.collections4.queue.CircularFifoQueue<String> |
recentEvents |
protected List<String> |
servers |
protected String |
topic |
NETWORK_LOGGER
Constructor and Description |
---|
BusTopicBase(List<String> servers,
String topic,
String apiKey,
String apiSecret) |
Modifier and Type | Method and Description |
---|---|
String |
getApiKey() |
String |
getApiSecret() |
String[] |
getRecentEvents()
get the more recent events in this topic entity
|
List<String> |
getServers()
return list of servers
|
String |
getTopic()
gets the topic name
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTopicCommInfrastructure
protected String topic
protected String apiKey
protected String apiSecret
protected org.apache.commons.collections4.queue.CircularFifoQueue<String> recentEvents
public BusTopicBase(List<String> servers, String topic, String apiKey, String apiSecret) throws IllegalArgumentException
IllegalArgumentException
public String getTopic()
public List<String> getServers()
getServers
in interface Topic
public String getApiSecret()
getApiSecret
in interface BusTopic
public String[] getRecentEvents()
Topic
getRecentEvents
in interface Topic
Copyright © 2018. All rights reserved.