com.ibm.di.queue
Class MemBufferThread
java.lang.Object
java.lang.Thread
com.ibm.di.queue.MemBufferThread
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- MemBufferLoaderThread, MemBufferStoreThread
public abstract class MemBufferThread
- extends Thread
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
memQ
protected MemQ memQ
size
protected int size
connect
protected static PESConnector connect
bDirty
protected static boolean bDirty
actionListener
public static ActionListener actionListener
MemBufferThread
public MemBufferThread(MemQ q,
int size)
- constructor
- Parameters:
q
- if store thread then it is the chunk
if loader thread then the main memqsize
- threshold if loading
pagesize if storing
addActionListener
public static void addActionListener(ActionListener l)
removeActionListener
public static void removeActionListener(ActionListener l)
fireListener
public void fireListener(ActionEvent e)
Initialize
public void Initialize(String sDBName,
String jdbcLogin,
String jdbcPassword,
String sTblName)
throws Exception
- Initializes the system store paramemters
- Parameters:
sDBName
- system store database namejdbcLogin
- username to connect to the dbjdbcPassword
- password to connect to the dbsTblName
- table name
- Throws:
Exception
- if system store is not initialized properly
terminate
public void terminate()
- terminates the system store operation
isStoreEmpty
public boolean isStoreEmpty()