| Package | Description |
|---|---|
| org.infinispan |
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
|
| org.infinispan.client.hotrod |
Hot Rod client API.
|
| org.infinispan.commons.util |
Commons package providing various utility classes
|
| org.infinispan.distribution |
Classes relating to the distributed cache mode.
|
| org.infinispan.persistence |
Persistence API.
|
| org.infinispan.persistence.jdbc.stringbased |
JDBC CacheStore implementation which maps keys to strings.
|
| org.infinispan.persistence.remote |
Hot Rod-based
AdvancedLoadWriteStore. |
| org.infinispan.persistence.rocksdb |
RocksDB-based
AdvancedLoadWriteStore. |
| org.infinispan.persistence.spi |
The Persistence SPI.
|
| Modifier and Type | Method and Description |
|---|---|
LockedStream<K,V> |
LockedStream.filterKeySegments(IntSet segments)
Filters which entries are returned by what segment they are present in.
|
CacheStream<R> |
CacheStream.filterKeySegments(IntSet segments)
Filters which entries are returned by what segment they are present in.
|
BaseCacheStream |
BaseCacheStream.filterKeySegments(IntSet segments)
Filters which entries are returned by what segment they are present in.
|
| Modifier and Type | Method and Description |
|---|---|
CloseableIteratorSet<Map.Entry<K,V>> |
RemoteCache.entrySet(IntSet segments)
This method is identical to
RemoteCache.entrySet() except that it will only return entries that map to the given segments. |
CloseableIteratorSet<K> |
RemoteCache.keySet(IntSet segments)
This method is identical to
RemoteCache.keySet() except that it will only return keys that map to the given segments. |
CloseableIteratorCollection<V> |
RemoteCache.values(IntSet segments)
This method is identical to
RemoteCache.values() except that it will only return values that map to the given segments. |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableIntSet
Deprecated.
since 9.3 This class will no longer be public, please use
IntSets.immutableSet(IntSet) |
class |
RangeSet
Deprecated.
since 9.3 This class will no longer be public. Please use
IntSets.immutableRangeSet(int) instead. |
class |
SmallIntSet
Deprecated.
since 9.3 This class will no longer be public. Please use
IntSets methods such as
IntSets.mutableEmptySet(), IntSets.mutableCopyFrom(Set) |
| Modifier and Type | Method and Description |
|---|---|
static IntSet |
IntSets.concurrentCopyFrom(IntSet intSet,
int maxExclusive)
Returns a copy of the given set that supports concurrent operations.
|
static IntSet |
IntSets.concurrentSet(int maxExclusive)
Returns a concurrent mutable IntSet that can store values in the range of
0..maxExclusive-1 |
static IntSet |
IntSets.from(PrimitiveIterator.OfInt iterator)
Returns an IntSet based on the ints in the iterator.
|
static IntSet |
IntSets.from(Set<Integer> integerSet)
Returns an IntSet based on the provided Set.
|
static IntSet |
IntSets.immutableEmptySet()
Returns an immutable IntSet containing no values
|
static IntSet |
IntSets.immutableRangeSet(int endExclusive)
Returns an immutable IntSet containing all values from
0 to endExclusive - 1. |
static IntSet |
IntSets.immutableSet(int value)
Returns an immutable IntSet containing a single value
|
static IntSet |
IntSets.immutableSet(IntSet set)
Returns an immutable IntSet that wraps the given IntSet to prevent modifications.
|
static IntSet |
IntSets.mutableCopyFrom(Set<Integer> mutableSet)
Returns an IntSet that contains all ints from the given Set that is mutable.
|
static IntSet |
IntSets.mutableEmptySet()
Returns a mutable IntSet with no values set.
|
static IntSet |
IntSets.mutableEmptySet(int maxExclusive)
Returns an IntSet that contains no values but is initialized to hold ints equal to the
maxExclusive -1 or
smaller. |
static IntSet |
IntSets.mutableFrom(Set<Integer> integerSet)
Returns an IntSet that is mutable that contains all of the values from the given set.
|
static IntSet |
IntSets.mutableSet(int value)
Returns a mutable set with the initial value set.
|
static IntSet |
IntSets.mutableSet(int value1,
int value2)
Returns a mutable IntSet that begins with the initialized values
|
static IntSet |
IntSetsExternalization.readFrom(ObjectInput input) |
| Modifier and Type | Method and Description |
|---|---|
static Set<Class<? extends IntSet>> |
IntSetsExternalization.getTypeClasses() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SmallIntSet.addAll(IntSet set)
Deprecated.
|
boolean |
RangeSet.addAll(IntSet set)
Deprecated.
|
boolean |
IntSet.addAll(IntSet set)
Adds all ints from the provided set into this one
|
boolean |
ImmutableIntSet.addAll(IntSet set)
Deprecated.
|
static IntSet |
IntSets.concurrentCopyFrom(IntSet intSet,
int maxExclusive)
Returns a copy of the given set that supports concurrent operations.
|
boolean |
SmallIntSet.containsAll(IntSet set)
Deprecated.
|
boolean |
RangeSet.containsAll(IntSet set)
Deprecated.
|
boolean |
IntSet.containsAll(IntSet set)
Whether this set contains all ints in the given IntSet
|
boolean |
ImmutableIntSet.containsAll(IntSet set)
Deprecated.
|
static IntSet |
IntSets.immutableSet(IntSet set)
Returns an immutable IntSet that wraps the given IntSet to prevent modifications.
|
boolean |
SmallIntSet.removeAll(IntSet set)
Deprecated.
|
boolean |
RangeSet.removeAll(IntSet set)
Deprecated.
|
boolean |
IntSet.removeAll(IntSet set)
Removes all ints from this IntSet that are in the provided IntSet
|
boolean |
SmallIntSet.retainAll(IntSet c)
Deprecated.
|
boolean |
RangeSet.retainAll(IntSet c)
Deprecated.
|
boolean |
IntSet.retainAll(IntSet c)
Modifies this set to remove all ints that are not present in the provided IntSet
|
static void |
IntSetsExternalization.writeTo(ObjectOutput output,
IntSet intSet) |
| Constructor and Description |
|---|
ImmutableIntSet(IntSet set)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
IntSet |
LocalizedCacheTopology.getLocalReadSegments() |
| Modifier and Type | Method and Description |
|---|---|
static int |
PersistenceUtil.count(SegmentedAdvancedLoadWriteStore<?,?> salws,
IntSet segments)
Counts how many entries are present in the segmented store.
|
static <R> org.reactivestreams.Publisher<R> |
PersistenceUtil.parallelizePublisher(IntSet segments,
Executor executor,
IntFunction<org.reactivestreams.Publisher<R>> publisherFunction)
Will create a publisher that parallelizes each publisher returned from the publisherFunction by executing
them on the executor as needed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JdbcStringBasedStore.clear(IntSet segments) |
org.reactivestreams.Publisher<MarshalledEntry<K,V>> |
JdbcStringBasedStore.publishEntries(IntSet segments,
Predicate<? super K> filter,
boolean fetchValue,
boolean fetchMetadata) |
org.reactivestreams.Publisher<K> |
JdbcStringBasedStore.publishKeys(IntSet segments,
Predicate<? super K> filter) |
int |
JdbcStringBasedStore.size(IntSet segments) |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteStore.clear(IntSet segments) |
org.reactivestreams.Publisher<MarshalledEntry<K,V>> |
RemoteStore.publishEntries(IntSet segments,
Predicate<? super K> filter,
boolean fetchValue,
boolean fetchMetadata) |
io.reactivex.Flowable<K> |
RemoteStore.publishKeys(IntSet segments,
Predicate<? super K> filter) |
int |
RemoteStore.size(IntSet segments) |
| Modifier and Type | Method and Description |
|---|---|
void |
RocksDBStore.addSegments(IntSet segments) |
void |
RocksDBStore.clear(IntSet segments) |
org.reactivestreams.Publisher<MarshalledEntry<K,V>> |
RocksDBStore.publishEntries(IntSet segments,
Predicate<? super K> filter,
boolean fetchValue,
boolean fetchMetadata) |
org.reactivestreams.Publisher<K> |
RocksDBStore.publishKeys(IntSet segments,
Predicate<? super K> filter) |
void |
RocksDBStore.removeSegments(IntSet segments) |
int |
RocksDBStore.size(IntSet segments) |
| Modifier and Type | Method and Description |
|---|---|
default void |
SegmentedAdvancedLoadWriteStore.addSegments(IntSet segments)
Invoked when a node becomes an owner of the given segments.
|
void |
SegmentedAdvancedLoadWriteStore.clear(IntSet segments)
Removes all the data that maps to the given segments from the storage.
|
org.reactivestreams.Publisher<MarshalledEntry<K,V>> |
SegmentedAdvancedLoadWriteStore.publishEntries(IntSet segments,
Predicate<? super K> filter,
boolean fetchValue,
boolean fetchMetadata)
Publishes all entries from this store.
|
org.reactivestreams.Publisher<K> |
SegmentedAdvancedLoadWriteStore.publishKeys(IntSet segments,
Predicate<? super K> filter)
Publishes all the keys that map to the given segments from this store.
|
default void |
SegmentedAdvancedLoadWriteStore.removeSegments(IntSet segments)
Invoked when a node loses ownership of a segment.
|
int |
SegmentedAdvancedLoadWriteStore.size(IntSet segments)
Returns the number of elements in the store that map to the given segments that aren't expired.
|
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.