public class ClusteringConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<CacheMode> |
CACHE_MODE |
Modifier and Type | Method and Description |
---|---|
AsyncConfiguration |
async()
Configure async sub element.
|
AttributeSet |
attributes() |
CacheMode |
cacheMode()
Cache mode.
|
String |
cacheModeString() |
boolean |
equals(Object obj) |
HashConfiguration |
hash()
Configure hash sub element
|
int |
hashCode() |
L1Configuration |
l1()
This method allows configuration of the L1 cache for distributed caches.
|
PartitionHandlingConfiguration |
partitionHandling()
Configures cluster's behaviour in the presence of partitions or node failures.
|
StateTransferConfiguration |
stateTransfer() |
SyncConfiguration |
sync()
Configure sync sub element.
|
String |
toString() |
public static final AttributeDefinition<CacheMode> CACHE_MODE
public CacheMode cacheMode()
CacheMode
for information on the various cache modes available.public PartitionHandlingConfiguration partitionHandling()
public String cacheModeString()
public AsyncConfiguration async()
sync()
as two are mutually exclusivepublic HashConfiguration hash()
public L1Configuration l1()
L1ConfigurationBuilder.disable()
public SyncConfiguration sync()
async()
as two are mutually exclusivepublic StateTransferConfiguration stateTransfer()
public AttributeSet attributes()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.