public class CaffeineNearCache<K,V> extends Object implements org.infinispan.client.hotrod.near.NearCache<K,V>
| Constructor and Description |
|---|
CaffeineNearCache(com.github.benmanes.caffeine.cache.Cache<K,org.infinispan.client.hotrod.MetadataValue<V>> cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.infinispan.client.hotrod.MetadataValue<V> |
get(K key) |
Iterator<Map.Entry<K,org.infinispan.client.hotrod.MetadataValue<V>>> |
iterator() |
void |
put(K key,
org.infinispan.client.hotrod.MetadataValue<V> value) |
void |
putIfAbsent(K key,
org.infinispan.client.hotrod.MetadataValue<V> value) |
boolean |
remove(K key) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic boolean remove(K key)
public void clear()
public int size()
Copyright © 2022 JBoss by Red Hat. All rights reserved.