Class PartitionHandlingConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.PartitionHandlingConfiguration
-
- All Implemented Interfaces:
org.infinispan.commons.configuration.attributes.Matchable<PartitionHandlingConfiguration>
,BaseConfigurationInfo
,ConfigurationInfo
public class PartitionHandlingConfiguration extends Object implements org.infinispan.commons.configuration.attributes.Matchable<PartitionHandlingConfiguration>, ConfigurationInfo
Controls how the cache handles partitioning and/or multiple node failures.- Since:
- 7.0
- Author:
- Mircea Markus
-
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.commons.configuration.elements.ElementDefinition
ELEMENT_DEFINITION
static org.infinispan.commons.configuration.attributes.AttributeDefinition<EntryMergePolicy>
MERGE_POLICY
static org.infinispan.commons.configuration.attributes.AttributeDefinition<PartitionHandling>
WHEN_SPLIT
-
Constructor Summary
Constructors Constructor Description PartitionHandlingConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
boolean
equals(Object obj)
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
int
hashCode()
EntryMergePolicy
mergePolicy()
boolean
resolveConflictsOnMerge()
String
toString()
PartitionHandling
whenSplit()
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Field Detail
-
WHEN_SPLIT
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<PartitionHandling> WHEN_SPLIT
-
MERGE_POLICY
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<EntryMergePolicy> MERGE_POLICY
-
ELEMENT_DEFINITION
public static final org.infinispan.commons.configuration.elements.ElementDefinition ELEMENT_DEFINITION
-
-
Method Detail
-
whenSplit
public PartitionHandling whenSplit()
-
mergePolicy
public EntryMergePolicy mergePolicy()
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
resolveConflictsOnMerge
public boolean resolveConflictsOnMerge()
-
toString
public String toString()
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
-