servicenow.community.sql
Class Metrics
java.lang.Object
servicenow.community.sql.Metrics
public class Metrics
- extends java.lang.Object
Contains counters for the number of records inserted, updated, etc.
- Author:
- LewisGF
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Metrics
public Metrics()
recordsInserted
public int recordsInserted()
recordsUpdated
public int recordsUpdated()
recordsDeleted
public int recordsDeleted()
recordsProcessed
public int recordsProcessed()
incrementInserts
public void incrementInserts()
incrementUpdates
public void incrementUpdates()
incrementDeletes
public void incrementDeletes()
incrementUnchanged
public void incrementUnchanged()
addMetrics
public Metrics addMetrics(Metrics other)
clear
public void clear()
log
public void log(org.apache.log4j.Logger logger,
org.apache.log4j.Level level)
logInfo
public void logInfo(org.apache.log4j.Logger logger)
addValues
public void addValues(GlideRecord rec)
fieldValues
public FieldValues fieldValues()