Interface RestStoreConfigurationChildBuilder<S>
-
- All Superinterfaces:
ConfigurationChildBuilder
,StoreConfigurationChildBuilder<S>
- All Known Implementing Classes:
AbstractRestStoreConfigurationChildBuilder
,ConnectionPoolConfigurationBuilder
,RestStoreConfigurationBuilder
public interface RestStoreConfigurationChildBuilder<S> extends StoreConfigurationChildBuilder<S>
RestStoreConfigurationChildBuilder.- Since:
- 6.0
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestStoreConfigurationBuilder
appendCacheNameToPath(boolean appendCacheNameToPath)
Determines whether to append the cache name to the path URI.ConnectionPoolConfigurationBuilder
connectionPool()
Configures the connection poolRestStoreConfigurationBuilder
host(String host)
The host to connect toRestStoreConfigurationBuilder
key2StringMapper(Class<? extends MarshallingTwoWayKey2StringMapper> klass)
The class of aKey2StringMapper
to use for mapping keys to strings suitable for RESTful retrieval/storage.RestStoreConfigurationBuilder
key2StringMapper(String key2StringMapper)
The class name of aKey2StringMapper
to use for mapping keys to strings suitable for RESTful retrieval/storage.RestStoreConfigurationBuilder
maxContentLength(int maxContentLength)
Sets the maximum content length.RestStoreConfigurationBuilder
metadataHelper(Class<? extends MetadataHelper> metadataHelper)
The class of aMetadataHelper
to use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelper
RestStoreConfigurationBuilder
metadataHelper(String metadataHelper)
The class name of aMetadataHelper
to use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelper
RestStoreConfigurationBuilder
path(String path)
The path portion of the RESTful service.RestStoreConfigurationBuilder
port(int port)
The port to connect to.RestStoreConfigurationBuilder
rawValues(boolean rawValues)
Reads/writes "raw" values to the REST server instead of marshalling (used by the rolling upgrades feature)-
Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, encoding, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, storeAsBinary, template, transaction, unsafe, validate, versioning
-
Methods inherited from interface org.infinispan.configuration.cache.StoreConfigurationChildBuilder
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, singleton, transactional, withProperties
-
-
-
-
Method Detail
-
connectionPool
ConnectionPoolConfigurationBuilder connectionPool()
Configures the connection pool
-
host
RestStoreConfigurationBuilder host(String host)
The host to connect to
-
key2StringMapper
RestStoreConfigurationBuilder key2StringMapper(String key2StringMapper)
The class name of aKey2StringMapper
to use for mapping keys to strings suitable for RESTful retrieval/storage. Defaults toWrappedByteArrayOrPrimitiveMapper
-
key2StringMapper
RestStoreConfigurationBuilder key2StringMapper(Class<? extends MarshallingTwoWayKey2StringMapper> klass)
The class of aKey2StringMapper
to use for mapping keys to strings suitable for RESTful retrieval/storage. Defaults toWrappedByteArrayOrPrimitiveMapper
-
metadataHelper
RestStoreConfigurationBuilder metadataHelper(String metadataHelper)
The class name of aMetadataHelper
to use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelper
-
metadataHelper
RestStoreConfigurationBuilder metadataHelper(Class<? extends MetadataHelper> metadataHelper)
The class of aMetadataHelper
to use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelper
-
path
RestStoreConfigurationBuilder path(String path)
The path portion of the RESTful service. Defaults to /
-
port
RestStoreConfigurationBuilder port(int port)
The port to connect to. Defaults to 80
-
appendCacheNameToPath
RestStoreConfigurationBuilder appendCacheNameToPath(boolean appendCacheNameToPath)
Determines whether to append the cache name to the path URI. Defaults to false.
-
rawValues
RestStoreConfigurationBuilder rawValues(boolean rawValues)
Reads/writes "raw" values to the REST server instead of marshalling (used by the rolling upgrades feature)
-
maxContentLength
RestStoreConfigurationBuilder maxContentLength(int maxContentLength)
Sets the maximum content length. Defaults to 10M.
-
-