| Modifier and Type | Field and Description |
|---|---|
private org.apache.juli.logging.Log |
log |
private RedisManager |
manager |
private redis.clients.jedis.JedisPubSub |
pubSub |
private static org.apache.tomcat.util.res.StringManager |
sm |
private AtomicBoolean |
stopFlag |
| Constructor and Description |
|---|
RedisEventListenerThread(RedisManager manager) |
| Modifier and Type | Method and Description |
|---|---|
private void |
fireContainerEvent(org.apache.catalina.Context context,
String type,
Object data) |
void |
run() |
private void |
sessionAttributeAddEvent(RedisSessionAddAttributeEvent sessionAddAttributeEvent) |
private void |
sessionAttributeRemoveEvent(RedisSessionRemoveAttributeEvent sessionRemoveAttributeEvent) |
private void |
sessionAttributeReplaceEvent(RedisSessionReplaceAttributeEvent sessionReplaceAttributeEvent) |
private void |
sessionCreatedEvent(RedisSessionCreatedEvent sessionCreatedEvent) |
private void |
sessionDestroyedEvent(RedisSessionDestroyedEvent sessionDestroyedEvent) |
void |
stop() |
private final org.apache.juli.logging.Log log
private static final org.apache.tomcat.util.res.StringManager sm
private RedisManager manager
private AtomicBoolean stopFlag
private redis.clients.jedis.JedisPubSub pubSub
public RedisEventListenerThread(RedisManager manager)
public void stop()
private void fireContainerEvent(org.apache.catalina.Context context,
String type,
Object data)
throws Exception
Exceptionprivate void sessionCreatedEvent(RedisSessionCreatedEvent sessionCreatedEvent)
private void sessionDestroyedEvent(RedisSessionDestroyedEvent sessionDestroyedEvent)
private void sessionAttributeAddEvent(RedisSessionAddAttributeEvent sessionAddAttributeEvent)
private void sessionAttributeRemoveEvent(RedisSessionRemoveAttributeEvent sessionRemoveAttributeEvent)
private void sessionAttributeReplaceEvent(RedisSessionReplaceAttributeEvent sessionReplaceAttributeEvent)
Copyright © 2015. All rights reserved.