public class HttpStatPublisher extends PublisherBase
configContext, publisher
Constructor and Description |
---|
HttpStatPublisher() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMetaDataAttributes(org.wso2.carbon.databridge.commons.StreamDefinition definition)
Adds meta data attributes to the stream definition.
|
protected void |
addPayloadDataAttributes(org.wso2.carbon.databridge.commons.StreamDefinition definition)
Adds the Payload data attributes to the stream definition.
|
protected String |
getDataStreamName()
get the data stream name for data stream.
|
void |
publish(WebappMonitoringEvent monitoringEvent)
Publish a WebappMonitoringEvent
|
createStreamDefinition, isPublishable, mapNull, mapNull, mapNull, publish
public HttpStatPublisher() throws BAMPublisherConfigurationException
public void publish(WebappMonitoringEvent monitoringEvent) throws MonitoringPublisherException
monitoringEvent
- MonitoringPublisherException
- when publish failureprotected void addMetaDataAttributes(org.wso2.carbon.databridge.commons.StreamDefinition definition)
PublisherBase
addMetaDataAttributes
in class PublisherBase
definition
- the Stream definitionprotected void addPayloadDataAttributes(org.wso2.carbon.databridge.commons.StreamDefinition definition)
PublisherBase
addPayloadDataAttributes
in class PublisherBase
definition
- the Stream definitionprotected String getDataStreamName()
PublisherBase
getDataStreamName
in class PublisherBase
Copyright © 2019 WSO2. All rights reserved.