@Addresses(value={"/subsystem=infinispan/cache-container=*/replicated-cache=*/component=state-transfer","/subsystem=infinispan/cache-container=*/distributed-cache=*/component=state-transfer","/subsystem=infinispan/cache-container=*/scattered-cache=*/component=state-transfer"}) @Implicit public class StateTransferComponent<T extends StateTransferComponent<T>> extends Object implements Keyed
| Constructor and Description |
|---|
StateTransferComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Integer |
chunkSize()
The maximum number of cache entries in a batch of transferred state.
|
T |
chunkSize(Integer value)
The maximum number of cache entries in a batch of transferred state.
|
Boolean |
enabled()
If enabled, this will cause the cache to ask neighboring caches for state
when it starts up, so the cache starts 'warm', although it will impact
startup time.
|
T |
enabled(Boolean value)
If enabled, this will cause the cache to ask neighboring caches for state
when it starts up, so the cache starts 'warm', although it will impact
startup time.
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
timeout()
The maximum amount of time (ms) to wait for state from neighboring
caches, before throwing an exception and aborting startup.
|
T |
timeout(Long value)
The maximum amount of time (ms) to wait for state from neighboring
caches, before throwing an exception and aborting startup.
|
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="chunk-size") public Integer chunkSize()
public T chunkSize(Integer value)
@ModelNodeBinding(detypedName="enabled") public Boolean enabled()
public T enabled(Boolean value)
@ModelNodeBinding(detypedName="timeout") public Long timeout()
Copyright © 2019 JBoss by Red Hat. All rights reserved.