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 |
receivedEvents |
| Constructor and Description |
|---|
AbstractFlowConstructStatistics(String flowConstructType,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
getFlowConstructType() |
String |
getName() |
long |
getSamplePeriod() |
long |
getTotalEventsReceived() |
void |
incReceivedEvents() |
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 receivedEvents
public void setEnabled(boolean b)
public boolean isEnabled()
isEnabled in interface Statisticspublic String getName()
public void setName(String name)
public void clear()
public void incReceivedEvents()
public long getTotalEventsReceived()
public String getFlowConstructType()
public long getSamplePeriod()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.