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 RestStoreConfigurationBuildercacheName(String cacheName)The cache name of the remote REST endpoint.ConnectionPoolConfigurationBuilderconnectionPool()Configures the connection poolRestStoreConfigurationBuilderhost(String host)The host to connect toRestStoreConfigurationBuilderkey2StringMapper(Class<? extends org.infinispan.persistence.keymappers.MarshallingTwoWayKey2StringMapper> klass)The class of aKey2StringMapperto use for mapping keys to strings suitable for RESTful retrieval/storage.RestStoreConfigurationBuilderkey2StringMapper(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(Class<? extends org.infinispan.persistence.rest.metadata.MetadataHelper> metadataHelper)The class of aMetadataHelperto use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelperRestStoreConfigurationBuildermetadataHelper(String metadataHelper)The class name of aMetadataHelperto use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelperRestStoreConfigurationBuilderport(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, statistics, 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(String host)
The host to connect to
-
key2StringMapper
RestStoreConfigurationBuilder key2StringMapper(String key2StringMapper)
The class name of aKey2StringMapperto use for mapping keys to strings suitable for RESTful retrieval/storage. Defaults toWrappedByteArrayOrPrimitiveMapper
-
key2StringMapper
RestStoreConfigurationBuilder key2StringMapper(Class<? extends org.infinispan.persistence.keymappers.MarshallingTwoWayKey2StringMapper> klass)
The class of aKey2StringMapperto use for mapping keys to strings suitable for RESTful retrieval/storage. Defaults toWrappedByteArrayOrPrimitiveMapper
-
metadataHelper
RestStoreConfigurationBuilder metadataHelper(String metadataHelper)
The class name of aMetadataHelperto use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelper
-
metadataHelper
RestStoreConfigurationBuilder metadataHelper(Class<? extends org.infinispan.persistence.rest.metadata.MetadataHelper> metadataHelper)
The class of aMetadataHelperto use for managing appropriate metadata for the entries Defaults toEmbeddedMetadataHelper
-
cacheName
RestStoreConfigurationBuilder cacheName(String cacheName)
The cache name of the remote REST endpoint.
-
port
RestStoreConfigurationBuilder port(int port)
The port to connect to. Defaults to 80
-
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.
-
-