public class ClusteredStoreConfiguration extends java.lang.Object implements 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)
Construct a new configuration from the given detached representation.
|
org.ehcache.clustered.common.Consistency |
derive()
Derive a detached representation from this configuration
|
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()
Indicates which service this configuration works with.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compatibleWith
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 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()
ServiceConfiguration
derive
in interface ServiceConfiguration<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider,org.ehcache.clustered.common.Consistency>
public ClusteredStoreConfiguration build(org.ehcache.clustered.common.Consistency representation)
ServiceConfiguration
build
in interface ServiceConfiguration<org.ehcache.clustered.client.internal.store.ClusteredStore.Provider,org.ehcache.clustered.common.Consistency>
representation
- a detached representation