Package com.arcadedb.database.async
Class DatabaseAsyncExecutorImpl.AsyncThread
- java.lang.Object
-
- java.lang.Thread
-
- com.arcadedb.database.async.DatabaseAsyncExecutorImpl.AsyncThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- DatabaseAsyncExecutorImpl
public class DatabaseAsyncExecutorImpl.AsyncThread extends Thread
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description long
count
DatabaseInternal
database
boolean
forceShutdown
BlockingQueue<DatabaseAsyncTask>
queue
boolean
shutdown
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isShutdown()
void
onError(Throwable e)
void
onOk()
void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
queue
public final BlockingQueue<DatabaseAsyncTask> queue
-
database
public final DatabaseInternal database
-
shutdown
public volatile boolean shutdown
-
forceShutdown
public volatile boolean forceShutdown
-
count
public long count
-
-