Class MemcachedServerConfigurationBuilder
java.lang.Object
org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder,MemcachedAuthenticationConfiguration>
org.infinispan.server.memcached.configuration.MemcachedServerConfigurationBuilder
- All Implemented Interfaces:
Builder<MemcachedServerConfiguration>
,Self<MemcachedServerConfigurationBuilder>
,ProtocolServerConfigurationChildBuilder<MemcachedServerConfiguration,
MemcachedServerConfigurationBuilder, MemcachedAuthenticationConfiguration>
public class MemcachedServerConfigurationBuilder
extends ProtocolServerConfigurationBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder,MemcachedAuthenticationConfiguration>
implements Builder<MemcachedServerConfiguration>
MemcachedServerConfigurationBuilder.
- Since:
- 5.3
- Author:
- Tristan Tarrant
-
Field Summary
Fields inherited from class org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder
attributes, ipFilter, ssl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIndicates theAdminOperationsHandler
which will be used to handle admin operationsbuild()
Builds a configuration objectbuild
(boolean validate) clientEncoding
(MediaType payloadType) The encoding to be used by clients of the memcached text protocol.create()
Create the configuration beanprotocol()
protocol
(MemcachedProtocol protocol) Builder
<?> read
(MemcachedServerConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.self()
void
validate()
Validate the data in this builder before building the configuration beanMethods inherited from class org.infinispan.server.core.configuration.ProtocolServerConfigurationBuilder
defaultCacheName, host, host, idleTimeout, implicitConnector, implicitConnector, ioThreads, ipFilter, name, name, port, port, recvBufSize, sendBufSize, socketBinding, socketBinding, ssl, startTransport, startTransport, tcpKeepAlive, tcpNoDelay
-
Constructor Details
-
MemcachedServerConfigurationBuilder
public MemcachedServerConfigurationBuilder()
-
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<MemcachedServerConfiguration>
-
self
- Specified by:
self
in interfaceSelf<MemcachedServerConfigurationBuilder>
-
authentication
-
encryption
-
adminOperationsHandler
Description copied from interface:ProtocolServerConfigurationChildBuilder
Indicates theAdminOperationsHandler
which will be used to handle admin operations- Specified by:
adminOperationsHandler
in interfaceProtocolServerConfigurationChildBuilder<MemcachedServerConfiguration,
MemcachedServerConfigurationBuilder, MemcachedAuthenticationConfiguration> - Overrides:
adminOperationsHandler
in classProtocolServerConfigurationBuilder<MemcachedServerConfiguration,
MemcachedServerConfigurationBuilder, MemcachedAuthenticationConfiguration>
-
clientEncoding
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. -
protocol
-
protocol
-
create
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<MemcachedServerConfiguration>
- Returns:
-
validate
public void validate()Description copied from interface:Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceBuilder<MemcachedServerConfiguration>
- Overrides:
validate
in classProtocolServerConfigurationBuilder<MemcachedServerConfiguration,
MemcachedServerConfigurationBuilder, MemcachedAuthenticationConfiguration>
-
build
-
build
Description copied from interface:ProtocolServerConfigurationChildBuilder
Builds a configuration object -
read
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, MemcachedAuthenticationConfiguration> - Parameters:
template
- the configuration from which to "clone" this config if needed.combine
- the way attributes and children of this instance and the template should be combined.
-