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 RestStoreConfigurationBuilderappendCacheNameToPath(boolean appendCacheNameToPath)Determines whether to append the cache name to the path URI.ConnectionPoolConfigurationBuilderconnectionPool()Configures the connection poolRestStoreConfigurationBuilderhost(java.lang.String host)The host to connect toRestStoreConfigurationBuilderkey2StringMapper(java.lang.Class<? extends MarshallingTwoWayKey2StringMapper> klass)The class of aKey2StringMapperto use for mapping keys to strings suitable for RESTful retrieval/storage.RestStoreConfigurationBuilderkey2StringMapper(java.lang.String key2StringMapper)The class name of aKey2StringMapperto use for mapping keys to strings suitable for RESTful retrieval/storage.RestStoreConfigurationBuildermaxContentLength(int maxContentLength)Sets the maximum content length.RestStoreConfigurationBuildermetadataHelper(java.lang.Class<? extends MetadataHelper> metadataHelper)The class of aMetadataHelperto use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelperRestStoreConfigurationBuildermetadataHelper(java.lang.String metadataHelper)The class name of aMetadataHelperto use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelperRestStoreConfigurationBuilderpath(java.lang.String path)The path portion of the RESTful service.RestStoreConfigurationBuilderport(int port)The port to connect to.RestStoreConfigurationBuilderrawValues(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, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, template, transaction, unsafe, validate
-
Methods inherited from interface org.infinispan.configuration.cache.StoreConfigurationChildBuilder
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, transactional, withProperties
-
-
-
-
Method Detail
-
connectionPool
ConnectionPoolConfigurationBuilder connectionPool()
Configures the connection pool
-
host
RestStoreConfigurationBuilder host(java.lang.String host)
The host to connect to
-
key2StringMapper
RestStoreConfigurationBuilder key2StringMapper(java.lang.String key2StringMapper)
The class name of aKey2StringMapperto use for mapping keys to strings suitable for RESTful retrieval/storage. Defaults toWrappedByteArrayOrPrimitiveMapper
-
key2StringMapper
RestStoreConfigurationBuilder key2StringMapper(java.lang.Class<? extends MarshallingTwoWayKey2StringMapper> klass)
The class of aKey2StringMapperto use for mapping keys to strings suitable for RESTful retrieval/storage. Defaults toWrappedByteArrayOrPrimitiveMapper
-
metadataHelper
RestStoreConfigurationBuilder metadataHelper(java.lang.String metadataHelper)
The class name of aMetadataHelperto use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelper
-
metadataHelper
RestStoreConfigurationBuilder metadataHelper(java.lang.Class<? extends MetadataHelper> metadataHelper)
The class of aMetadataHelperto use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelper
-
path
RestStoreConfigurationBuilder path(java.lang.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.
-
-