public class CartridgeRecordCounts extends java.lang.Object implements ReadOnlyStatisticsMonitorIfc, java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static char |
COMMA |
static java.lang.String |
CSVHeader |
| Constructor and Description |
|---|
CartridgeRecordCounts(org.w3c.dom.NamedNodeMap attrMap) |
CartridgeRecordCounts(ReadOnlyStatisticsMonitorIfc statsReader,
com.nt.udc.admin.NodeInfo ni) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.StringBuilder |
appendXMLTimestamp(java.lang.StringBuilder buffer,
java.util.Calendar tstamp) |
protected java.lang.Object |
clone() |
java.util.Calendar |
getBeginTime() |
java.lang.String |
getCartridgeID() |
java.lang.String |
getCartridgeName() |
static java.lang.String |
getCSVHeader() |
int |
getDiscardedCount() |
int |
getDuplicateCount() |
java.util.Calendar |
getEndTime() |
long |
getInputCount() |
long |
getOutputCount() |
int |
getStoredCount() |
boolean |
isCountsSuspect() |
boolean |
isEnabled()
Is statistics really being collected?
|
java.lang.String |
toCSVRecord() |
static java.util.ArrayList<CartridgeRecordCounts> |
totalByCartridgeID(java.util.ArrayList<CartridgeRecordCounts> counts,
java.lang.String realNodemgrName) |
java.lang.String |
toXMLRecord() |
public static final java.lang.String CSVHeader
public static final char COMMA
public CartridgeRecordCounts(ReadOnlyStatisticsMonitorIfc statsReader, com.nt.udc.admin.NodeInfo ni)
public CartridgeRecordCounts(org.w3c.dom.NamedNodeMap attrMap)
public long getOutputCount()
getOutputCount in interface ReadOnlyStatisticsMonitorIfcpublic long getInputCount()
getInputCount in interface ReadOnlyStatisticsMonitorIfcpublic int getStoredCount()
getStoredCount in interface ReadOnlyStatisticsMonitorIfcpublic int getDuplicateCount()
getDuplicateCount in interface ReadOnlyStatisticsMonitorIfcpublic int getDiscardedCount()
getDiscardedCount in interface ReadOnlyStatisticsMonitorIfcpublic java.util.Calendar getBeginTime()
getBeginTime in interface ReadOnlyStatisticsMonitorIfcpublic java.util.Calendar getEndTime()
getEndTime in interface ReadOnlyStatisticsMonitorIfcpublic boolean isEnabled()
ReadOnlyStatisticsMonitorIfcisEnabled in interface ReadOnlyStatisticsMonitorIfcpublic boolean isCountsSuspect()
isCountsSuspect in interface ReadOnlyStatisticsMonitorIfcpublic java.lang.String getCartridgeName()
public java.lang.String getCartridgeID()
public java.lang.String toXMLRecord()
public static java.lang.StringBuilder appendXMLTimestamp(java.lang.StringBuilder buffer,
java.util.Calendar tstamp)
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic static java.util.ArrayList<CartridgeRecordCounts> totalByCartridgeID(java.util.ArrayList<CartridgeRecordCounts> counts, java.lang.String realNodemgrName)
public static java.lang.String getCSVHeader()
public java.lang.String toCSVRecord()