org.apache.stratos.common.statistics.publisher
Class WSO2CEPStatisticsPublisher

java.lang.Object
  extended by org.apache.stratos.common.statistics.publisher.WSO2CEPStatisticsPublisher
All Implemented Interfaces:
StatisticsPublisher

public class WSO2CEPStatisticsPublisher
extends Object
implements StatisticsPublisher

WSO2 CEP statistics publisher.


Constructor Summary
WSO2CEPStatisticsPublisher(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition)
           
 
Method Summary
 boolean isEnabled()
          Return enabled state of the statistics publisher.
 void publish(Object[] payload)
          Payload to be published.
 void setEnabled(boolean enabled)
          Set statistics publisher enabled or disabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSO2CEPStatisticsPublisher

public WSO2CEPStatisticsPublisher(org.wso2.carbon.databridge.commons.StreamDefinition streamDefinition)
Method Detail

setEnabled

public void setEnabled(boolean enabled)
Description copied from interface: StatisticsPublisher
Set statistics publisher enabled or disabled.

Specified by:
setEnabled in interface StatisticsPublisher

isEnabled

public boolean isEnabled()
Description copied from interface: StatisticsPublisher
Return enabled state of the statistics publisher.

Specified by:
isEnabled in interface StatisticsPublisher

publish

public void publish(Object[] payload)
Description copied from interface: StatisticsPublisher
Payload to be published.

Specified by:
publish in interface StatisticsPublisher
Parameters:
payload - An array of parameter values.


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.