org.objectweb.cjdbc.controller.requestmanager
Class ParserThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.objectweb.cjdbc.controller.requestmanager.ParserThread
All Implemented Interfaces:
java.lang.Runnable

public class ParserThread
extends java.lang.Thread

This thread is used to process request parsing in background.

Version:
1.0
Author:
Emmanuel Cecchet

Field Summary
private  DatabaseSchema dbs
           
private  int granularity
           
private  boolean isCaseSensitive
           
private  AbstractRequest request
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ParserThread(AbstractRequest request, DatabaseSchema dbs, int granularity, boolean isCaseSensitive)
          Creates a new ParserThread
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isCaseSensitive

private boolean isCaseSensitive

request

private AbstractRequest request

dbs

private DatabaseSchema dbs

granularity

private int granularity
Constructor Detail

ParserThread

public ParserThread(AbstractRequest request,
                    DatabaseSchema dbs,
                    int granularity,
                    boolean isCaseSensitive)
Creates a new ParserThread

Parameters:
request - the request to parse
dbs - the database schema
granularity - the parsing granularity to use
isCaseSensitive - true if parsing is case sensitive
Method Detail

run

public void run()
See Also:
Runnable.run()


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