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 size, in bytes, in which to batch the transfer of cache entries.
|
T |
chunkSize(Integer value)
The size, in bytes, in which to batch the transfer of cache entries.
|
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 © 2018 JBoss by Red Hat. All rights reserved.