public class RedisEvent
extends org.springframework.context.ApplicationEvent
source
Constructor and Description |
---|
RedisEvent(Object source,
Serializable key,
RedisEventType type)
Create a new ApplicationEvent.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
getKey() |
RedisEventType |
getType() |
getSource, toString
public RedisEvent(Object source, Serializable key, RedisEventType type)
source
- the object on which the event initially occurred (never null
)public final Serializable getKey()
public final RedisEventType getType()
Copyright © 2018 lodsve. All rights reserved.