public class StateTransferComponent<T extends StateTransferComponent<T>> extends Object
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 String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Integer chunkSize()
public T chunkSize(Integer value)
public Boolean enabled()
public T enabled(Boolean value)
public Long timeout()
Copyright © 2019 JBoss by Red Hat. All rights reserved.