Package org.cyclos.impl.system
Class ProfilingQueryEvent
- java.lang.Object
-
- org.cyclos.impl.system.ProfilingElement
-
- org.cyclos.impl.system.ProfilingEvent
-
- org.cyclos.impl.system.ProfilingQueryEvent
-
- All Implemented Interfaces:
Serializable
public class ProfilingQueryEvent extends ProfilingEvent
A SQL query executed during a profiling session- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfilingQueryEvent()ProfilingQueryEvent(String sql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetCached()List<Object>getParameters()IntegergetRowsUpdated()StringgetSql()ProfilingEventTypegetType()voidsetCached(Boolean cached)voidsetParameters(List<Object> parameters)voidsetRowsUpdated(Integer rowsUpdated)voidsetSql(String sql)-
Methods inherited from class org.cyclos.impl.system.ProfilingEvent
getContext, getSeq, onAdded, setContext, setSeq, toString
-
Methods inherited from class org.cyclos.impl.system.ProfilingElement
end, getDuration, getTimestamp, setDuration, setTimestamp
-
-
-
-
Constructor Detail
-
ProfilingQueryEvent
public ProfilingQueryEvent()
-
ProfilingQueryEvent
public ProfilingQueryEvent(String sql)
-
-
Method Detail
-
getCached
public Boolean getCached()
-
getRowsUpdated
public Integer getRowsUpdated()
-
getSql
public String getSql()
-
getType
public ProfilingEventType getType()
- Specified by:
getTypein classProfilingEvent
-
setCached
public void setCached(Boolean cached)
-
setRowsUpdated
public void setRowsUpdated(Integer rowsUpdated)
-
setSql
public void setSql(String sql)
-
-