|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.audit.reporting.metricses.GeneralStatistics
public class GeneralStatistics
General domain statistics.
Nested Class Summary | |
---|---|
static interface |
GeneralStatistics.Visitor
|
Nested classes/interfaces inherited from interface com.jscape.util.Visitable |
---|
com.jscape.util.Visitable.VisitorBase, com.jscape.util.Visitable.VisitorException |
Constructor Summary | |
---|---|
GeneralStatistics()
Creates a new metrics instance. |
|
GeneralStatistics(TotalSessions totalSessions,
TotalUploads totalUploads,
TotalUniqueIps totalUniqueIps,
TotalDownloads totalDownloads,
TotalBytesUploaded totalBytesUploaded,
TotalBytesDownloaded totalBytesDownloaded,
TotalFileAttachmentsSent totalAttachmentsSent,
TotalFileAttachmentsReceived totalAttachmentsReceived,
TotalFileAttachmentBytesSent totalBytesAttachmentSent,
TotalFileAttachmentBytesReceived totalBytesAttachmentReceived,
TotalExternalUploads totalExternalUploads,
TotalExternalDownloads totalExternalDownloads,
TotalExternalBytesUploads totalExternalBytesUploaded,
TotalExternalBytesDownloaded totalExternalBytesDownloaded)
|
Method Summary | |
---|---|
java.lang.Object |
accept(GeneralStatistics.Visitor visitor)
Backwards dispatching entry point. |
GeneralStatistics |
copy()
|
long |
getTotalAttachmentsReceived()
Returns total attachments received count. |
long |
getTotalAttachmentsSent()
Returns total attachments sent count. |
long |
getTotalBytesAttachmentReceived()
Returns total bytes attachment received. |
long |
getTotalBytesAttachmentSent()
Returns total bytes attachment sent. |
long |
getTotalBytesDownloaded()
Returns total bytes downloaded. |
long |
getTotalBytesUploaded()
Returns total bytes uploaded. |
long |
getTotalDownloads()
Returns total downloads count. |
long |
getTotalExternalBytesDownloaded()
Returns total external bytes downloaded. |
long |
getTotalExternalBytesUploaded()
Returns total external bytes uploaded. |
long |
getTotalExternalDownloads()
Returns total external downloads count. |
long |
getTotalExternalUploads()
Returns total external uploads count. |
long |
getTotalSessions()
Returns total sessions count. |
long |
getTotalUniqueIps()
Returns total unique IPs count. |
long |
getTotalUploads()
Returns total uploads count. |
java.util.Set |
getUniqueIps()
Returns unique IPs set. |
void |
reset()
Resets metrics data. |
void |
setTotalAttachmentsReceived(long value)
Sets total attachments received count. |
void |
setTotalAttachmentsSent(long value)
Sets total attachments sent count. |
void |
setTotalBytesAttachmentReceived(long value)
Sets total bytes attachment received. |
void |
setTotalBytesAttachmentSent(long value)
Sets total bytes attachment sent. |
void |
setTotalBytesDownloaded(long value)
Sets total bytes downloaded. |
void |
setTotalBytesUploaded(long value)
Sets total bytes uploaded. |
void |
setTotalDownloads(long value)
Sets total downloads count. |
void |
setTotalExternalBytesDownloaded(long value)
Sets total external bytes downloaded. |
void |
setTotalExternalBytesUploaded(long value)
Sets total external bytes uploaded. |
void |
setTotalExternalDownloads(long value)
Sets total external downloads count. |
void |
setTotalExternalUploads(long value)
Sets total external uploads count. |
void |
setTotalSessions(long value)
Sets total sessions count. |
void |
setTotalUploads(long value)
Sets total uploads count. |
void |
setUniqueIps(java.util.Set uniqueIps)
Sets unique IPs set. |
java.lang.String |
toString()
|
void |
update(Report report,
com.jscape.inet.mft.LogRecord record)
Updates metrics with log record. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeneralStatistics()
public GeneralStatistics(TotalSessions totalSessions, TotalUploads totalUploads, TotalUniqueIps totalUniqueIps, TotalDownloads totalDownloads, TotalBytesUploaded totalBytesUploaded, TotalBytesDownloaded totalBytesDownloaded, TotalFileAttachmentsSent totalAttachmentsSent, TotalFileAttachmentsReceived totalAttachmentsReceived, TotalFileAttachmentBytesSent totalBytesAttachmentSent, TotalFileAttachmentBytesReceived totalBytesAttachmentReceived, TotalExternalUploads totalExternalUploads, TotalExternalDownloads totalExternalDownloads, TotalExternalBytesUploads totalExternalBytesUploaded, TotalExternalBytesDownloaded totalExternalBytesDownloaded)
Method Detail |
---|
public void update(Report report, com.jscape.inet.mft.LogRecord record)
Metrics
update
in interface Metrics<GeneralStatistics.Visitor>
report
- report instancerecord
- log recordpublic void reset()
Metrics
reset
in interface Metrics<GeneralStatistics.Visitor>
public GeneralStatistics copy()
copy
in interface com.jscape.util.Copyable<Metrics>
public java.lang.Object accept(GeneralStatistics.Visitor visitor) throws com.jscape.util.Visitable.VisitorException
com.jscape.util.Visitable
accept
in interface com.jscape.util.Visitable<GeneralStatistics.Visitor>
visitor
- a visitor instance
com.jscape.util.Visitable.VisitorException
- if an error occurspublic long getTotalSessions()
public void setTotalSessions(long value)
value
- total sessions countpublic long getTotalUniqueIps()
public java.util.Set getUniqueIps()
public void setUniqueIps(java.util.Set uniqueIps)
uniqueIps
- unique IPs setpublic long getTotalUploads()
public void setTotalUploads(long value)
value
- total uploads countpublic long getTotalDownloads()
public void setTotalDownloads(long value)
value
- total downloads countpublic long getTotalBytesUploaded()
public void setTotalBytesUploaded(long value)
value
- total bytes uploadedpublic long getTotalBytesDownloaded()
public void setTotalBytesDownloaded(long value)
value
- total bytes downloadedpublic long getTotalExternalUploads()
public void setTotalExternalUploads(long value)
value
- total external uploads count.public long getTotalExternalDownloads()
public void setTotalExternalDownloads(long value)
value
- total external downloads count.public long getTotalExternalBytesUploaded()
public void setTotalExternalBytesUploaded(long value)
value
- total external bytes uploadedpublic long getTotalExternalBytesDownloaded()
public void setTotalExternalBytesDownloaded(long value)
value
- total external bytes downloadedpublic long getTotalAttachmentsSent()
public void setTotalAttachmentsSent(long value)
value
- total attachments sent count.public long getTotalAttachmentsReceived()
public void setTotalAttachmentsReceived(long value)
value
- total attachments received count.public long getTotalBytesAttachmentSent()
public void setTotalBytesAttachmentSent(long value)
value
- total bytes attachment sent.public long getTotalBytesAttachmentReceived()
public void setTotalBytesAttachmentReceived(long value)
value
- total bytes attachment received.public java.lang.String toString()
toString
in class java.lang.Object
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |