Class VersioningConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.VersioningConfiguration
-
- All Implemented Interfaces:
org.infinispan.commons.configuration.attributes.Matchable<VersioningConfiguration>
@Deprecated public class VersioningConfiguration extends Object implements org.infinispan.commons.configuration.attributes.Matchable<VersioningConfiguration>
Deprecated.since 9.0. Infinispan automatically enable versioning when needed.This configuration element controls whether entries are versioned. Versioning is necessary, for example, when using optimistic transactions in a clustered environment, to be able to perform write-skew checks.
-
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>
ENABLED
Deprecated.static org.infinispan.commons.configuration.attributes.AttributeDefinition<VersioningScheme>
SCHEME
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
Deprecated.boolean
enabled()
Deprecated.boolean
equals(Object o)
Deprecated.int
hashCode()
Deprecated.VersioningScheme
scheme()
Deprecated.String
toString()
Deprecated.
-
-
-
Field Detail
-
ENABLED
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ENABLED
Deprecated.
-
SCHEME
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<VersioningScheme> SCHEME
Deprecated.
-
-
Method Detail
-
enabled
public boolean enabled()
Deprecated.
-
scheme
public VersioningScheme scheme()
Deprecated.
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
Deprecated.
-
-