
org.infinispan.client.hotrod.event.impl.ExpiredEventImpl Maven / Gradle / Ivy
The newest version!
package org.infinispan.client.hotrod.event.impl;
import org.infinispan.client.hotrod.event.ClientCacheEntryExpiredEvent;
public class ExpiredEventImpl extends AbstractClientEvent implements ClientCacheEntryExpiredEvent {
private final K key;
public ExpiredEventImpl(byte[] listenerId, K key) {
super(listenerId);
this.key = key;
}
@Override
public K getKey() {
return key;
}
@Override
public Type getType() {
return Type.CLIENT_CACHE_ENTRY_EXPIRED;
}
@Override
public String toString() {
return "ExpiredEventImpl(" + "key=" + key + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy