英特內軟體股份有限公司


jcx.db
Class cache_talk

java.lang.Object
  |
  +--jcx.db.talk
        |
        +--jcx.db.cache_talk
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class cache_talk
extends talk

See Also:
Serialized Form

Field Summary
 long exec_count
           
 long exec_time
           
 long query_count
           
 long query_time
           
 int timeout
           
 
Fields inherited from class jcx.db.talk
base, cache, debug, enable_cache, f_db_type, isProxy, obj_id, read_bytes, sql_log, talk_name
 
Constructor Summary
cache_talk()
           
cache_talk(java.lang.String uid, java.lang.String fname1, talk t)
           
cache_talk(java.lang.String uid, java.lang.String fname1, talk t, int timeout)
           
 
Method Summary
 java.util.Vector callFromPool(java.lang.String sp, java.util.Vector v)
           
 java.util.Vector callFunctionFromPool(java.lang.String sp, java.util.Vector v)
           
 void close()
           
 java.lang.String execFromPool(java.lang.String sql)
           
 int[] execFromPool(java.lang.String[] sql)
           
 java.lang.String execFromPool(java.lang.String user_id, java.lang.String fname, java.lang.String sql)
           
 int[] execFromPool(java.lang.String user_id, java.lang.String fname, java.lang.String[] sql)
           
 java.lang.String[][] getColumnsFromPool(java.lang.String sql)
           
 java.lang.String[][] getSqlTypes()
           
 java.lang.String[] getTablesFromPool(java.lang.String pattern)
           
 java.lang.String[][] getTypesFromPool()
           
static void main(java.lang.String[] args)
           
 boolean pingServerFromPool()
           
 java.lang.String[][] queryFromPool(java.lang.String s)
           
 java.lang.String[][] queryFromPool(java.lang.String s, int start, int rows)
           
 java.lang.String[][] queryFromPool(java.lang.String s, long timeout)
           
 java.util.Hashtable queryFromPoolH(java.lang.String s)
           
 bResultSet queryFromPoolP(java.lang.String s)
           
 
Methods inherited from class jcx.db.talk
clone1, cutToken, encoding, getColumns, getColumns, getObjectFromByte, getObjectsFromPool, getTables, getTables, getURL, queryFromPool1, queryFromPoolH, queryFromPoolHB, replace, run, sendmsg, sendmsg, sendmsgx, sendmsgx, setObjID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeout

public int timeout

query_count

public long query_count

exec_count

public long exec_count

query_time

public long query_time

exec_time

public long exec_time
Constructor Detail

cache_talk

public cache_talk()
           throws java.sql.SQLException,
                  java.lang.ClassNotFoundException

cache_talk

public cache_talk(java.lang.String uid,
                  java.lang.String fname1,
                  talk t)
           throws java.sql.SQLException,
                  java.lang.ClassNotFoundException

cache_talk

public cache_talk(java.lang.String uid,
                  java.lang.String fname1,
                  talk t,
                  int timeout)
           throws java.sql.SQLException,
                  java.lang.ClassNotFoundException
Method Detail

queryFromPool

public java.lang.String[][] queryFromPool(java.lang.String s,
                                          long timeout)
                                   throws java.sql.SQLException,
                                          java.lang.Exception
Overrides:
queryFromPool in class talk

queryFromPool

public java.lang.String[][] queryFromPool(java.lang.String s,
                                          int start,
                                          int rows)
                                   throws java.sql.SQLException,
                                          java.lang.Exception

queryFromPool

public java.lang.String[][] queryFromPool(java.lang.String s)
                                   throws java.sql.SQLException,
                                          java.lang.Exception
Overrides:
queryFromPool in class talk

queryFromPoolP

public bResultSet queryFromPoolP(java.lang.String s)
                          throws java.sql.SQLException,
                                 java.lang.Exception

queryFromPoolH

public java.util.Hashtable queryFromPoolH(java.lang.String s)
                                   throws java.sql.SQLException,
                                          java.lang.Exception
Overrides:
queryFromPoolH in class talk

execFromPool

public int[] execFromPool(java.lang.String[] sql)
                   throws java.sql.SQLException,
                          java.lang.Exception
Overrides:
execFromPool in class talk

execFromPool

public int[] execFromPool(java.lang.String user_id,
                          java.lang.String fname,
                          java.lang.String[] sql)
                   throws java.sql.SQLException,
                          java.lang.Exception
Overrides:
execFromPool in class talk

execFromPool

public java.lang.String execFromPool(java.lang.String user_id,
                                     java.lang.String fname,
                                     java.lang.String sql)
                              throws java.sql.SQLException,
                                     java.lang.Exception
Overrides:
execFromPool in class talk

execFromPool

public java.lang.String execFromPool(java.lang.String sql)
                              throws java.sql.SQLException,
                                     java.lang.Exception
Overrides:
execFromPool in class talk

getColumnsFromPool

public java.lang.String[][] getColumnsFromPool(java.lang.String sql)
                                        throws java.sql.SQLException,
                                               java.lang.ClassNotFoundException
Overrides:
getColumnsFromPool in class talk

callFromPool

public java.util.Vector callFromPool(java.lang.String sp,
                                     java.util.Vector v)
                              throws java.sql.SQLException,
                                     java.lang.Exception
Overrides:
callFromPool in class talk

callFunctionFromPool

public java.util.Vector callFunctionFromPool(java.lang.String sp,
                                             java.util.Vector v)
                                      throws java.sql.SQLException,
                                             java.lang.Exception

pingServerFromPool

public boolean pingServerFromPool()
                           throws java.sql.SQLException,
                                  java.lang.ClassNotFoundException
Overrides:
pingServerFromPool in class talk

getTablesFromPool

public java.lang.String[] getTablesFromPool(java.lang.String pattern)
                                     throws java.sql.SQLException,
                                            java.lang.ClassNotFoundException
Overrides:
getTablesFromPool in class talk

getTypesFromPool

public java.lang.String[][] getTypesFromPool()
                                      throws java.sql.SQLException,
                                             java.lang.ClassNotFoundException

getSqlTypes

public java.lang.String[][] getSqlTypes()
                                 throws java.sql.SQLException,
                                        java.lang.ClassNotFoundException
Overrides:
getSqlTypes in class talk

close

public void close()
           throws java.sql.SQLException
Overrides:
close in class talk

main

public static void main(java.lang.String[] args)

英特內軟體股份有限公司