public class RedisKeyspaceEvent extends ApplicationEvent
ApplicationEvent published when a key expires in Redis.source| Constructor and Description |
|---|
RedisKeyspaceEvent(byte[] key)
Creates new
RedisKeyspaceEvent. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getSource() |
getTimestamptoStringpublic RedisKeyspaceEvent(byte[] key)
RedisKeyspaceEvent.key - The key that expired. Must not be null.public byte[] getSource()
getSource in class EventObjectCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.