Class HotRodStore<K,V>
- java.lang.Object
-
- org.jboss.as.clustering.infinispan.subsystem.remote.HotRodStore<K,V>
-
- All Implemented Interfaces:
org.infinispan.persistence.spi.NonBlockingStore<K,V>
public class HotRodStore<K,V> extends Object implements org.infinispan.persistence.spi.NonBlockingStore<K,V>
Implementation of InfinispanAdvancedLoadWriteStoreconfigured with a started container-managedRemoteCacheContainerinstance. Remote caches are auto-created on the remote server if supported by the protocol.- Author:
- Radoslav Husar, Paul Ferraro
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.persistence.spi.NonBlockingStore
org.infinispan.persistence.spi.NonBlockingStore.Characteristic, org.infinispan.persistence.spi.NonBlockingStore.SegmentedPublisher<Type extends Object>
-
-
Constructor Summary
Constructors Constructor Description HotRodStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Void>batch(int publisherCount, org.reactivestreams.Publisher<org.infinispan.persistence.spi.NonBlockingStore.SegmentedPublisher<Object>> removePublisher, org.reactivestreams.Publisher<org.infinispan.persistence.spi.NonBlockingStore.SegmentedPublisher<org.infinispan.persistence.spi.MarshallableEntry<K,V>>> writePublisher)Set<org.infinispan.persistence.spi.NonBlockingStore.Characteristic>characteristics()CompletionStage<Void>clear()CompletionStage<Boolean>containsKey(int segment, Object key)CompletionStage<Boolean>delete(int segment, Object key)CompletionStage<Boolean>isAvailable()CompletionStage<org.infinispan.persistence.spi.MarshallableEntry<K,V>>load(int segment, Object key)org.reactivestreams.Publisher<org.infinispan.persistence.spi.MarshallableEntry<K,V>>publishEntries(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean includeValues)io.reactivex.rxjava3.core.Flowable<K>publishKeys(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter)CompletionStage<Long>size(org.infinispan.commons.util.IntSet segments)CompletionStage<Void>start(org.infinispan.persistence.spi.InitializationContext context)CompletionStage<Void>stop()CompletionStage<Void>write(int segment, org.infinispan.persistence.spi.MarshallableEntry<? extends K,? extends V> entry)
-
-
-
Method Detail
-
start
public CompletionStage<Void> start(org.infinispan.persistence.spi.InitializationContext context)
-
stop
public CompletionStage<Void> stop()
-
characteristics
public Set<org.infinispan.persistence.spi.NonBlockingStore.Characteristic> characteristics()
-
load
public CompletionStage<org.infinispan.persistence.spi.MarshallableEntry<K,V>> load(int segment, Object key)
-
write
public CompletionStage<Void> write(int segment, org.infinispan.persistence.spi.MarshallableEntry<? extends K,? extends V> entry)
-
delete
public CompletionStage<Boolean> delete(int segment, Object key)
-
batch
public CompletionStage<Void> batch(int publisherCount, org.reactivestreams.Publisher<org.infinispan.persistence.spi.NonBlockingStore.SegmentedPublisher<Object>> removePublisher, org.reactivestreams.Publisher<org.infinispan.persistence.spi.NonBlockingStore.SegmentedPublisher<org.infinispan.persistence.spi.MarshallableEntry<K,V>>> writePublisher)
-
publishKeys
public io.reactivex.rxjava3.core.Flowable<K> publishKeys(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter)
-
publishEntries
public org.reactivestreams.Publisher<org.infinispan.persistence.spi.MarshallableEntry<K,V>> publishEntries(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean includeValues)
-
clear
public CompletionStage<Void> clear()
-
containsKey
public CompletionStage<Boolean> containsKey(int segment, Object key)
-
isAvailable
public CompletionStage<Boolean> isAvailable()
-
size
public CompletionStage<Long> size(org.infinispan.commons.util.IntSet segments)
-
-