net.fenyo.gnetwatch.data
Class EventFlood
java.lang.Object
net.fenyo.gnetwatch.data.EventGeneric
net.fenyo.gnetwatch.data.EventFlood
public class EventFlood
- extends EventGeneric
Events of type EventFlood store the amount of data flooded to a target
during the period between the last event and this one.
- Version:
- $Id: EventFlood.java,v 1.12 2008/04/26 22:38:34 fenyo Exp $
- Author:
- Alexandre Fenyo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static Log log
bytes_sent
private long bytes_sent
cache_operand_1
private long cache_operand_1
cache_operand_2
private long cache_operand_2
cache_result
private int cache_result
EventFlood
public EventFlood(long bytes_sent)
- Constructor.
- Parameters:
bytes_sent - bytes flooded during the period between the last event and this one.
EventFlood
public EventFlood()
- Default constructor.
- Parameters:
none. -
getIntValue
public int getIntValue()
- Returns the throughput in bit/s at the moment of this event.
- Overrides:
getIntValue in class EventGeneric
- Returns:
- int throughput.
setIntValue
public void setIntValue(int value)
- Overrides:
setIntValue in class EventGeneric
getBytesSent
public long getBytesSent()
- Returns the numeric value stored with this event.
- Parameters:
none. -
- Returns:
- long numeric value.
setBytesSent
public void setBytesSent(long bytes_sent)