JSCAPE MFT Server

com.jscape.inet.mft.audit.reporting.metricses
Class TotalExternalBytesDownloaded

java.lang.Object
  extended by com.jscape.inet.mft.audit.reporting.metricses.TotalExternalBytesDownloaded
All Implemented Interfaces:
Metrics<TotalExternalBytesDownloaded.Visitor>, com.jscape.util.Copyable<Metrics>, com.jscape.util.Visitable<TotalExternalBytesDownloaded.Visitor>

public class TotalExternalBytesDownloaded
extends java.lang.Object
implements Metrics<TotalExternalBytesDownloaded.Visitor>

Author:
Alex Usun

Nested Class Summary
static interface TotalExternalBytesDownloaded.Visitor
           
 
Nested classes/interfaces inherited from interface com.jscape.util.Visitable
com.jscape.util.Visitable.VisitorBase, com.jscape.util.Visitable.VisitorException
 
Constructor Summary
TotalExternalBytesDownloaded()
           
 
Method Summary
 java.lang.Object accept(TotalExternalBytesDownloaded.Visitor visitor)
          Backwards dispatching entry point.
 TotalExternalBytesDownloaded copy()
           
 long getValue()
           
 void reset()
          Resets metrics data.
 void setValue(long value)
           
 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

TotalExternalBytesDownloaded

public TotalExternalBytesDownloaded()
Method Detail

update

public void update(Report report,
                   com.jscape.inet.mft.LogRecord record)
Description copied from interface: Metrics
Updates metrics with log record.

Specified by:
update in interface Metrics<TotalExternalBytesDownloaded.Visitor>
Parameters:
report - report instance
record - log record

reset

public void reset()
Description copied from interface: Metrics
Resets metrics data.

Specified by:
reset in interface Metrics<TotalExternalBytesDownloaded.Visitor>

copy

public TotalExternalBytesDownloaded copy()
Specified by:
copy in interface com.jscape.util.Copyable<Metrics>

accept

public java.lang.Object accept(TotalExternalBytesDownloaded.Visitor visitor)
                        throws com.jscape.util.Visitable.VisitorException
Description copied from interface: com.jscape.util.Visitable
Backwards dispatching entry point.

Specified by:
accept in interface com.jscape.util.Visitable<TotalExternalBytesDownloaded.Visitor>
Parameters:
visitor - a visitor instance
Returns:
a visit result if any
Throws:
com.jscape.util.Visitable.VisitorException - if an error occurs

getValue

public long getValue()

setValue

public void setValue(long value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved