public class LocalSessionTracker extends SessionTrackerImpl
SessionTrackerImpl.SessionImplThread.State, Thread.UncaughtExceptionHandlerSessionTracker.Session, SessionTracker.SessionExpirersessionsByIdMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
LocalSessionTracker(SessionTracker.SessionExpirer expirer,
ConcurrentMap<Long,Integer> sessionsWithTimeouts,
int tickTime,
long id,
ZooKeeperServerListener listener) |
| Modifier and Type | Method and Description |
|---|---|
long |
createSession(int sessionTimeout) |
boolean |
isGlobalSession(long sessionId) |
boolean |
isLocalSession(long sessionId) |
checkGlobalSession, checkSession, commitSession, dumpSessions, getLocalSessionCount, getSessionExpiryMap, getSessionTimeout, initializeNextSessionId, isLocalSessionsEnabled, isTrackingSession, removeSession, run, setOwner, setSessionClosing, shutdown, toString, touchSession, trackSessionhandleExceptionactiveCount, checkAccess, clone, 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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yieldpublic LocalSessionTracker(SessionTracker.SessionExpirer expirer, ConcurrentMap<Long,Integer> sessionsWithTimeouts, int tickTime, long id, ZooKeeperServerListener listener)
public boolean isLocalSession(long sessionId)
public boolean isGlobalSession(long sessionId)
public long createSession(int sessionTimeout)
createSession in interface SessionTrackercreateSession in class SessionTrackerImplCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.