public void destroy() throws Exception { if (this.expirationListener.get() != null) { this.expirationListener.get().destroy(); } if (this.messageListenerContainer != null) { this.messageListenerContainer.destroy(); } }
@Override protected void doHandleMessage(Message message) { publishEvent(new RedisKeyExpiredEvent(message.getBody())); }
public void destroy() throws Exception { if (this.expirationListener.get() != null) { this.expirationListener.get().destroy(); } if (this.messageListenerContainer != null) { this.messageListenerContainer.destroy(); } }
@Override protected void doHandleMessage(Message message) { publishEvent(new RedisKeyExpiredEvent(message.getBody())); }
public void destroy() throws Exception { if (this.expirationListener.get() != null) { this.expirationListener.get().destroy(); } if (this.messageListenerContainer != null) { this.messageListenerContainer.destroy(); } }
@Override protected void doHandleMessage(Message message) { publishEvent(new RedisKeyExpiredEvent(message.getBody())); }