Class MemcachedServerConfigurationBuilder
- java.lang.Object
-
- org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder>
-
- org.infinispan.server.memcached.configuration.MemcachedServerConfigurationBuilder
-
- All Implemented Interfaces:
Builder<MemcachedServerConfiguration>
,Self<MemcachedServerConfigurationBuilder>
,ProtocolServerConfigurationChildBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder>
@Deprecated public class MemcachedServerConfigurationBuilder extends ProtocolServerConfigurationBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder> implements Builder<MemcachedServerConfiguration>
Deprecated.since 10.1. Will be removed unless a binary protocol encoder/decoder is implemented.MemcachedServerConfigurationBuilder.- Since:
- 5.3
- Author:
- Tristan Tarrant
-
-
Field Summary
-
Fields inherited from class org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder
attributes, ssl
-
-
Constructor Summary
Constructors Constructor Description MemcachedServerConfigurationBuilder()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MemcachedServerConfigurationBuilder
adminOperationsHandler(org.infinispan.server.core.admin.AdminOperationsHandler handler)
Deprecated.Indicates theAdminOperationsHandler
which will be used to handle admin operationsMemcachedServerConfiguration
build()
Deprecated.Builds a configuration objectMemcachedServerConfiguration
build(boolean validate)
Deprecated.MemcachedServerConfigurationBuilder
cache(String cache)
Deprecated.MemcachedServerConfigurationBuilder
clientEncoding(org.infinispan.commons.dataconversion.MediaType payloadType)
Deprecated.The encoding to be used by clients of the memcached text protocol.MemcachedServerConfiguration
create()
Deprecated.Create the configuration beanBuilder<?>
read(MemcachedServerConfiguration template)
Deprecated.Reads the configuration from an already created configuration bean into this builder.MemcachedServerConfigurationBuilder
self()
Deprecated.-
Methods inherited from class org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder
defaultCacheName, host, host, idleTimeout, ioThreads, name, name, port, port, recvBufSize, sendBufSize, socketBinding, ssl, startTransport, tcpKeepAlive, tcpNoDelay, validate, workerThreads
-
-
-
-
Method Detail
-
self
public MemcachedServerConfigurationBuilder self()
Deprecated.- Specified by:
self
in interfaceSelf<MemcachedServerConfigurationBuilder>
-
cache
@Deprecated public MemcachedServerConfigurationBuilder cache(String cache)
Deprecated.
-
adminOperationsHandler
public MemcachedServerConfigurationBuilder adminOperationsHandler(org.infinispan.server.core.admin.AdminOperationsHandler handler)
Deprecated.Description copied from interface:ProtocolServerConfigurationChildBuilder
Indicates theAdminOperationsHandler
which will be used to handle admin operations- Specified by:
adminOperationsHandler
in interfaceProtocolServerConfigurationChildBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder>
- Overrides:
adminOperationsHandler
in classProtocolServerConfigurationBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder>
-
clientEncoding
public MemcachedServerConfigurationBuilder clientEncoding(org.infinispan.commons.dataconversion.MediaType payloadType)
Deprecated.The encoding to be used by clients of the memcached text protocol. When not specified, "application/octet-stream" is assumed. When encoding is set, the memcached text server will assume clients will be reading and writing values in that encoding, and will perform the necessary conversions between this encoding and the storage format.
-
create
public MemcachedServerConfiguration create()
Deprecated.Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<MemcachedServerConfiguration>
- Returns:
-
build
public MemcachedServerConfiguration build(boolean validate)
Deprecated.
-
build
public MemcachedServerConfiguration build()
Deprecated.Description copied from interface:ProtocolServerConfigurationChildBuilder
Builds a configuration object- Specified by:
build
in interfaceProtocolServerConfigurationChildBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder>
-
read
public Builder<?> read(MemcachedServerConfiguration template)
Deprecated.Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in interfaceBuilder<MemcachedServerConfiguration>
- Overrides:
read
in classProtocolServerConfigurationBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-