All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.hotrod.event.impl.ExpiredEventImpl Maven / Gradle / Ivy

The newest version!
package org.infinispan.hotrod.event.impl;

import org.infinispan.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 - 2024 Weber Informatics LLC | Privacy Policy