Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private static Logger |
logger
Logger for logging exceptions
|
private LinkedList |
queue
The queue of expirations to log
|
private OutriggerServerImpl |
server
The server we are working for
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ExpirationOpQueue(OutriggerServerImpl server)
Create a new
ExpirationOpQueue that
will handle lease expiration logging for the
specified server. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
enqueue(Uuid cookie)
Enqueue the logging of the expiration of the specified lease.
|
void |
run() |
(package private) void |
terminate()
Stop the queue
|
activeCount, 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, toString, yield
private final LinkedList queue
private final OutriggerServerImpl server
private static final Logger logger
ExpirationOpQueue(OutriggerServerImpl server)
ExpirationOpQueue
that
will handle lease expiration logging for the
specified server.server
- the OutriggerServerImpl
to
log for.void enqueue(Uuid cookie)
cookie
- The cookie of the lease that has expired.void terminate()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.