@Service(value=org.tentackle.pdo.PdoTracker.class) public class DbPdoTracker extends ModificationTracker implements PdoTracker
Thread.State, Thread.UncaughtExceptionHandlerdefaultPollingIntervalINSTANCE_COUNTERMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
DbPdoTracker()
Creates the Pdo tracker.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModificationListener(ModificationListener listener)
Adds a modification listener.
|
<T extends PersistentDomainObject<T>> |
getSerial(Class<T> clazz) |
long |
getSerial(String name) |
boolean |
removeModificationListener(ModificationListener listener)
Removes a modification listener.
|
addShutdownRunnable, cleanup, countModification, createModificationEvent, extractMasterSerial, getAllSerials, getIdSerialForName, getMasterSerial, getSession, invalidate, lockInternal, releaseSession, removeShutdownRunnable, requestSession, setSession, unlockInternaladdTask, createLock, isSessionClosedOnTermination, isSessionKeptAlive, run, setSessionClosedOnTermination, setSessionKeptAliveaddTaskAndWait, addTaskListener, assertAlive, assertIntervalsInRange, assertNotAlive, assertNotKilled, executeTask, fireCompleted, fireStarted, getAllTasks, getDeadInterval, getQueueSize, getShutdownIdleTimeout, getSleepInterval, 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, waitaddShutdownRunnable, countModification, getInstance, invalidate, removeShutdownRunnablegetSession, isSessionClosedOnTermination, isSessionKeptAlive, setSession, setSessionClosedOnTermination, setSessionKeptAliveaddTask, addTaskAndWait, addTaskListener, getAllTasks, getDeadInterval, getQueueSize, getShutdownIdleTimeout, getSleepInterval, isAlive, isInstanceOfTaskPending, isQueueEmpty, isTaskPending, isUsingMutexLocking, lock, removeTask, removeTaskListener, setDeadInterval, setShutdownIdleTimeout, setSleepInterval, setUsingMutexLocking, start, toDiagnosticString, unlock, waitForTaskisTerminationRequested, requestTermination, terminatereleaseSession, requestSessionpublic DbPdoTracker()
Notice that the tracker is a singleton.
public void addModificationListener(ModificationListener listener)
ModificationTrackeraddModificationListener in interface PdoTrackeraddModificationListener in class ModificationTrackerlistener - the listener to addpublic boolean removeModificationListener(ModificationListener listener)
ModificationTrackerremoveModificationListener in interface PdoTrackerremoveModificationListener in class ModificationTrackerlistener - the listener to removepublic <T extends PersistentDomainObject<T>> long getSerial(Class<T> clazz)
getSerial in interface PdoTrackerpublic long getSerial(String name)
getSerial in interface PdoTrackerCopyright © 2016 Krake Softwaretechnik. All rights reserved.