public class ClusteredStoreConfiguration
extends java.lang.Object
implements org.ehcache.spi.service.ServiceConfiguration<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider>
ServiceConfiguration for the ClusteredStore.| Constructor and Description |
|---|
ClusteredStoreConfiguration()
Creates a new configuration with consistency set to
EVENTUAL. |
ClusteredStoreConfiguration(Consistency consistency)
Creates a new configuration with the provided
Consistency. |
| Modifier and Type | Method and Description |
|---|---|
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(Consistency consistency)
Consistency.consistency - the Consistencypublic 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>public Consistency getConsistency()
Consistency for this configuration instance.Consistency