Top Description Fields Constructors Methods
com.ziclix.python.sql.pipe

pack-priv abstract Class PipeRunner

Located in compilation unit of com.ziclix.python.sql.pipe.Pipe.

extends Thread
Class Inheritance
Known Direct Subclasses
com.ziclix.python.sql.pipe.SourceRunner, com.ziclix.python.sql.pipe.SinkRunner

Class PipeRunner
Date
2024-12-07
Copyright
2001 brian zimmer

Field Summary

Modifier and TypeField and Description
protected int
counter

Field counter

protected Throwable
exception

Field exception

protected Queue
queue

Field queue

Inherited from java.lang.Thread:
MAX_PRIORITYMIN_PRIORITYNORM_PRIORITY

Constructor Summary

AccessConstructor and Description
public
PipeRunner(Queue
queue
queue
)

Constructor PipeRunner

Method Summary

Modifier and TypeMethod and Description
public int
getCount()

The total number of rows handled.

public Throwable
getException()

Return the uncaught exception.

protected abstract void
pipe()

Handle the source/destination specific copying.

public void
run()

Overrides java.lang.Thread.run.

Implements java.lang.Runnable.run.

Method run

public boolean
threwException()

Return true if the thread terminated because of an uncaught exception.

Inherited from java.lang.Thread:
activeCountcheckAccessclonecurrentThreaddumpStackenumerategetAllStackTracesgetContextClassLoadergetDefaultUncaughtExceptionHandlergetIdgetNamegetPrioritygetStackTracegetStategetThreadGroupgetUncaughtExceptionHandlerholdsLockinterruptinterruptedisAliveisDaemonisInterruptedisVirtualjoinjoinjoinjoinofPlatformofVirtualonSpinWaitsetContextClassLoadersetDaemonsetDefaultUncaughtExceptionHandlersetNamesetPrioritysetUncaughtExceptionHandlersleepsleepsleepstartstartVirtualThreadstopthreadIdtoStringyield

Field Detail

counterback to summary
protected int counter

Field counter

exceptionback to summary
protected Throwable exception

Field exception

queueback to summary
protected Queue queue

Field queue

Constructor Detail

PipeRunnerback to summary
public PipeRunner(Queue queue)

Constructor PipeRunner

Parameters
queue:Queue

queue

Method Detail

getCountback to summary
public int getCount()

The total number of rows handled.

getExceptionback to summary
public Throwable getException()

Return the uncaught exception.

pipeback to summary
protected abstract void pipe() throws InterruptedException

Handle the source/destination specific copying.

runback to summary
public void run()

Overrides java.lang.Thread.run.

Implements java.lang.Runnable.run.

Method run

Annotations
@Override
threwExceptionback to summary
public boolean threwException()

Return true if the thread terminated because of an uncaught exception.