Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.common.monitor.client.ClientBytesReadCollector Class Reference

Inheritance diagram for org.objectweb.cjdbc.common.monitor.client.ClientBytesReadCollector:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.cjdbc.common.monitor.client.ClientBytesReadCollector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClientBytesReadCollector (String clientId, String virtualDatabaseName) throws DataCollectorException
long getValue (Object client)
String getDescription ()

Detailed Description

Return total bytes read for this client

Author:
Nicolas Modrzyk

Definition at line 35 of file ClientBytesReadCollector.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.common.monitor.client.ClientBytesReadCollector.ClientBytesReadCollector String  clientId,
String  virtualDatabaseName
throws DataCollectorException
 

create new collector

Parameters:
clientId user name of the client
virtualDatabaseName that contains this backend
Exceptions:
DataCollectorException if cannot access client

Definition at line 44 of file ClientBytesReadCollector.java.

00046   {
00047     super(clientId, virtualDatabaseName);
00048   }


Member Function Documentation

String org.objectweb.cjdbc.common.monitor.client.ClientBytesReadCollector.getDescription  )  [virtual]
 

See also:
org.objectweb.cjdbc.common.monitor.AbstractDataCollector.getDescription()

Implements org.objectweb.cjdbc.common.monitor.AbstractDataCollector.

Definition at line 61 of file ClientBytesReadCollector.java.

00062   {
00063     return Translate.get("monitoring.client.bytes.read");
00064   }

long org.objectweb.cjdbc.common.monitor.client.ClientBytesReadCollector.getValue Object  client  )  [virtual]
 

See also:
org.objectweb.cjdbc.common.monitor.AbstractDataCollector.collectValue()

Implements org.objectweb.cjdbc.common.monitor.client.AbstractClientDataCollector.

Definition at line 53 of file ClientBytesReadCollector.java.

00054   {
00055     return ((VirtualDatabaseWorkerThread) client).getBytesRead();
00056   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:01:53 2005 for C-JDBC by  doxygen 1.3.9.1