@Service(value=org.tentackle.session.ModificationTracker.class) public class PdoModificationTracker extends DbModificationTracker
Thread.State, Thread.UncaughtExceptionHandlerdefaultPollingIntervalMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PdoModificationTracker()
Creates the Pdo tracker.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSerial(Class<?> clazz) |
void |
setSession(org.tentackle.session.Session session) |
addModificationListener, addShutdownRunnable, cleanup, countModification, createModificationEvent, extractMasterSerial, getAllSerials, getIdSerialForName, getMasterSerial, getSerial, getSession, invalidate, isLocalClientMode, lockInternal, releaseSession, removeModificationListener, removeShutdownRunnable, requestSession, setLocalClientMode, unlockInternaladdTask, createLock, isSessionClosedOnTermination, isSessionKeptAlive, run, setSessionClosedOnTermination, setSessionKeptAliveaddTaskAndWait, addTaskListener, assertAlive, assertIntervalsInRange, assertNotAlive, assertNotKilled, executeTask, fireCompleted, fireStarted, getAllTasks, getDeadInterval, getQueueSize, getShutdownIdleTimeout, getSleepInterval, getTask, getTerminationCause, interrupt, isDead, isInstanceOfTaskPending, isKilled, isQueueEmpty, isTaskDispatcherThread, isTaskPending, isTerminationRequested, isUsingMutexLocking, kill, lock, nextTask, removeTask, removeTaskListener, requestTermination, setDead, setDeadInterval, setShutdownIdleTimeout, setSleepInterval, setUsingMutexLocking, sleepForInterval, startedAt, terminate, terminatedAt, toDiagnosticString, unlock, waitForTaskactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisSessionClosedOnTermination, isSessionKeptAlive, setSessionClosedOnTermination, setSessionKeptAliveaddTask, addTaskAndWait, addTaskListener, getAllTasks, getDeadInterval, getQueueSize, getShutdownIdleTimeout, getSleepInterval, getTask, isAlive, isInstanceOfTaskPending, isQueueEmpty, isTaskPending, isUsingMutexLocking, lock, removeTask, removeTaskListener, setDeadInterval, setShutdownIdleTimeout, setSleepInterval, setUsingMutexLocking, start, toDiagnosticString, unlock, waitForTaskpublic PdoModificationTracker()
Notice that the tracker is a singleton.
public long getSerial(Class<?> clazz)
getSerial in interface org.tentackle.session.ModificationTrackergetSerial in class DbModificationTrackerpublic void setSession(org.tentackle.session.Session session)
setSession in interface org.tentackle.session.SessionTaskDispatchersetSession in class DbModificationTrackerTentackle - distributed, domain- and model-driven