public abstract class AbstractFlowConstructStatistics extends Object implements Statistics
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
protected String |
flowConstructType |
protected String |
name |
protected AtomicLong |
receivedEventASync |
protected AtomicLong |
receivedEventSync |
Constructor and Description |
---|
AbstractFlowConstructStatistics(String flowConstructType,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
long |
getAsyncEventsReceived() |
String |
getFlowConstructType() |
String |
getName() |
long |
getSamplePeriod() |
long |
getSyncEventsReceived() |
long |
getTotalEventsReceived() |
void |
incReceivedEventASync() |
void |
incReceivedEventSync() |
boolean |
isEnabled()
Are statistics logged
|
void |
setEnabled(boolean b)
Enable statistics logs (this is a dynamic parameter)
|
void |
setName(String name) |
protected final String flowConstructType
protected String name
protected boolean enabled
protected final AtomicLong receivedEventSync
protected final AtomicLong receivedEventASync
public void setEnabled(boolean b)
public boolean isEnabled()
isEnabled
in interface Statistics
public String getName()
public void setName(String name)
public void clear()
public void incReceivedEventSync()
public void incReceivedEventASync()
public long getAsyncEventsReceived()
public long getSyncEventsReceived()
public long getTotalEventsReceived()
public String getFlowConstructType()
public long getSamplePeriod()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.