org.objectweb.cjdbc.scenario.users
Class IvanielinScenario.UpdateThread

java.lang.Object
  extended byorg.objectweb.cjdbc.scenario.users.IvanielinScenario.UpdateThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
IvanielinScenario

public class IvanielinScenario.UpdateThread
extends java.lang.Object
implements java.lang.Runnable

This class defines a UpdateThread

Version:
1.0
Author:
Nicolas Modrzyk

Field Summary
private  java.sql.Connection connection
           
private  int count
           
private  int id
           
 
Constructor Summary
IvanielinScenario.UpdateThread(int count, java.sql.Connection connection)
          Creates a new UpdateThread object
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

private int count

id

private int id

connection

private java.sql.Connection connection
Constructor Detail

IvanielinScenario.UpdateThread

public IvanielinScenario.UpdateThread(int count,
                                      java.sql.Connection connection)
Creates a new UpdateThread object

Parameters:
count - number of time we should execute the run loop
connection - Connection to use to execute request with this thread
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.