servicenow.community.sql
Class Metrics

java.lang.Object
  extended by servicenow.community.sql.Metrics

public class Metrics
extends java.lang.Object

Contains counters for the number of records inserted, updated, etc.

Author:
LewisGF

Constructor Summary
Metrics()
           
 
Method Summary
 Metrics addMetrics(Metrics other)
           
 void addValues(GlideRecord rec)
           
 void clear()
           
 FieldValues fieldValues()
           
 void incrementDeletes()
           
 void incrementInserts()
           
 void incrementUnchanged()
           
 void incrementUpdates()
           
 void log(org.apache.log4j.Logger logger, org.apache.log4j.Level level)
           
 void logInfo(org.apache.log4j.Logger logger)
           
 int recordsDeleted()
           
 int recordsInserted()
           
 int recordsProcessed()
           
 int recordsUpdated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Metrics

public Metrics()
Method Detail

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()