Package | Description |
---|---|
org.infinispan.distribution.ch |
Consistent Hash interfaces
|
org.infinispan.distribution.ch.impl | |
org.infinispan.distribution.group |
Groups allow keys with differeing hash codes to be co-located on the same node.
|
org.infinispan.globalstate | |
org.infinispan.globalstate.impl | |
org.infinispan.topology |
Modifier and Type | Method and Description |
---|---|
default CH |
ConsistentHashFactory.fromPersistentState(ScopedPersistentState state)
Recreates a ConsistentHash from a previously stored persistent state
|
default void |
ConsistentHash.toScopedState(ScopedPersistentState state)
Writes this ConsistentHash to the specified scoped state.
|
Modifier and Type | Method and Description |
---|---|
ReplicatedConsistentHash |
ReplicatedConsistentHashFactory.fromPersistentState(ScopedPersistentState state) |
DefaultConsistentHash |
DefaultConsistentHashFactory.fromPersistentState(ScopedPersistentState state) |
DefaultConsistentHash |
SyncConsistentHashFactory.fromPersistentState(ScopedPersistentState state) |
void |
DefaultConsistentHash.toScopedState(ScopedPersistentState state) |
void |
ReplicatedConsistentHash.toScopedState(ScopedPersistentState state) |
Modifier and Type | Method and Description |
---|---|
void |
PartitionerConsistentHash.toScopedState(ScopedPersistentState state) |
Modifier and Type | Method and Description |
---|---|
Optional<ScopedPersistentState> |
GlobalStateManager.readScopedState(String scope)
Reads the persistent state for the specified scope.
|
Modifier and Type | Method and Description |
---|---|
void |
GlobalStateProvider.prepareForPersist(ScopedPersistentState globalState)
This method is invoked by the
GlobalStateManager just before
persisting the global state |
void |
GlobalStateProvider.prepareForRestore(ScopedPersistentState globalState)
This method is invoked by the
GlobalStateManager after starting up to notify
that global state has been restored. |
void |
GlobalStateManager.writeScopedState(ScopedPersistentState state)
Persists the specified scoped state
|
Modifier and Type | Class and Description |
---|---|
class |
ScopedPersistentStateImpl
ScopedPersistentStateImpl.
|
Modifier and Type | Method and Description |
---|---|
Optional<ScopedPersistentState> |
GlobalStateManagerImpl.readScopedState(String scope) |
Modifier and Type | Method and Description |
---|---|
void |
GlobalStateManagerImpl.writeScopedState(ScopedPersistentState state) |
Modifier and Type | Method and Description |
---|---|
void |
LocalTopologyManagerImpl.prepareForPersist(ScopedPersistentState state) |
void |
LocalTopologyManagerImpl.prepareForRestore(ScopedPersistentState state) |
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.