| Package | Description |
|---|---|
| org.infinispan.configuration.cache |
Cache configuration |
| org.infinispan.distribution |
Classes relating to the distributed cache mode.
|
| org.infinispan.distribution.ch |
Consistent Hash interfaces
|
| org.infinispan.persistence |
Persistence API.
|
| org.infinispan.persistence.spi |
The Persistence SPI.
|
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition<KeyPartitioner> |
HashConfiguration.KEY_PARTITIONER |
| Modifier and Type | Method and Description |
|---|---|
KeyPartitioner |
HashConfiguration.keyPartitioner() |
| Modifier and Type | Method and Description |
|---|---|
HashConfigurationBuilder |
HashConfigurationBuilder.keyPartitioner(KeyPartitioner keyPartitioner)
Key partitioner, controlling the mapping of keys to hash segments.
|
| Modifier and Type | Method and Description |
|---|---|
static LocalizedCacheTopology |
LocalizedCacheTopology.makeSegmentedSingletonTopology(KeyPartitioner keyPartitioner,
int numSegments,
Address localAddress)
Creates a new local topology that has a single address but multiple segments.
|
| Constructor and Description |
|---|
LocalizedCacheTopology(CacheMode cacheMode,
CacheTopology cacheTopology,
KeyPartitioner keyPartitioner,
Address localAddress,
boolean connected) |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
KeyPartitioner.matches(KeyPartitioner other) |
| Modifier and Type | Method and Description |
|---|---|
KeyPartitioner |
InitializationContextImpl.getKeyPartitioner() |
| Constructor and Description |
|---|
InitializationContextImpl(StoreConfiguration configuration,
Cache cache,
KeyPartitioner keyPartitioner,
StreamingMarshaller marshaller,
TimeService timeService,
ByteBufferFactory byteBufferFactory,
MarshalledEntryFactory mef,
ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
KeyPartitioner |
InitializationContext.getKeyPartitioner()
The configured partitioner that can be used to determine which segment a given key belongs to.
|
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.