org.opengts.db
Interface SessionStatsFactory
public interface SessionStatsFactory
Method Summary |
void |
addSessionStatistic(Device device,
long timestamp,
java.lang.String ipAddr,
boolean isDuplex,
long bytesRead,
long bytesWritten,
long eventsRecv)
|
long[] |
getByteCounts(Device device,
long timeStart,
long timeEnd)
|
long[] |
getConnectionCounts(Device device,
long timeStart,
long timeEnd)
|
IP_OVERHEAD
static final long IP_OVERHEAD
- See Also:
- Constant Field Values
UDP_OVERHEAD
static final long UDP_OVERHEAD
- See Also:
- Constant Field Values
TCP_OVERHEAD
static final long TCP_OVERHEAD
- See Also:
- Constant Field Values
TCP_SESSION_OVERHEAD
static final long TCP_SESSION_OVERHEAD
- See Also:
- Constant Field Values
addSessionStatistic
void addSessionStatistic(Device device,
long timestamp,
java.lang.String ipAddr,
boolean isDuplex,
long bytesRead,
long bytesWritten,
long eventsRecv)
throws DBException
- Throws:
DBException
getByteCounts
long[] getByteCounts(Device device,
long timeStart,
long timeEnd)
throws DBException
- Throws:
DBException
getConnectionCounts
long[] getConnectionCounts(Device device,
long timeStart,
long timeEnd)
throws DBException
- Throws:
DBException