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

org.infinispan.security.actions.GetCacheEntryAction Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.security.actions;

import org.infinispan.AdvancedCache;
import org.infinispan.container.entries.CacheEntry;

/**
 * GetCacheEntryAction.
 *
 * @author Tristan Tarrant
 * @since 7.2
 */
public class GetCacheEntryAction extends AbstractAdvancedCacheAction> {

   private final K key;

   public GetCacheEntryAction(AdvancedCache cache, K key) {
      super(cache);
      this.key = key;
   }

   @Override
   public CacheEntry run() {
      return ((AdvancedCache) cache).getCacheEntry(key);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy