public class ClusteredStoreConfiguration
extends java.lang.Object
implements org.ehcache.spi.service.ServiceConfiguration<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider,org.ehcache.clustered.common.Consistency>
ServiceConfiguration
for the ClusteredStore
.Constructor and Description |
---|
ClusteredStoreConfiguration()
Creates a new configuration with consistency set to
EVENTUAL . |
ClusteredStoreConfiguration(org.ehcache.clustered.common.Consistency consistency)
Creates a new configuration with the provided
Consistency . |
Modifier and Type | Method and Description |
---|---|
ClusteredStoreConfiguration |
build(org.ehcache.clustered.common.Consistency representation) |
org.ehcache.clustered.common.Consistency |
derive() |
org.ehcache.clustered.common.Consistency |
getConsistency()
Returns the
Consistency for this configuration instance. |
java.lang.Class<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider> |
getServiceType() |
public ClusteredStoreConfiguration()
EVENTUAL
.public ClusteredStoreConfiguration(org.ehcache.clustered.common.Consistency consistency)
Consistency
.consistency
- the Consistency
public java.lang.Class<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider> getServiceType()
getServiceType
in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider,org.ehcache.clustered.common.Consistency>
public org.ehcache.clustered.common.Consistency getConsistency()
Consistency
for this configuration instance.Consistency
public org.ehcache.clustered.common.Consistency derive()
derive
in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider,org.ehcache.clustered.common.Consistency>
public ClusteredStoreConfiguration build(org.ehcache.clustered.common.Consistency representation)
build
in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider,org.ehcache.clustered.common.Consistency>