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
cacheName(String cacheName)
The cache name of the remote REST endpoint.ConnectionPoolConfigurationBuilder
connectionPool()
Configures the connection poolRestStoreConfigurationBuilder
host(String host)
The host to connect toRestStoreConfigurationBuilder
key2StringMapper(Class<? extends org.infinispan.persistence.keymappers.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 org.infinispan.persistence.rest.metadata.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
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, 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, writeOnly
-
-
-
-
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 org.infinispan.persistence.keymappers.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 org.infinispan.persistence.rest.metadata.MetadataHelper> metadataHelper)
The class of aMetadataHelper
to 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.
-
-