public class MemcachedServerConfigurationBuilder extends ProtocolServerConfigurationBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder> implements Builder<MemcachedServerConfiguration>
adminOperationsHandler, defaultCacheName, host, idleTimeout, ignoredCaches, name, port, recvBufSize, sendBufSize, ssl, startTransport, tcpKeepAlive, tcpNoDelay, workerThreads
Constructor and Description |
---|
MemcachedServerConfigurationBuilder() |
Modifier and Type | Method and Description |
---|---|
MemcachedServerConfigurationBuilder |
adminOperationsHandler(AdminOperationsHandler handler)
Indicates the
AdminOperationsHandler which will be used to handle admin operations |
MemcachedServerConfiguration |
build()
Builds a configuration object
|
MemcachedServerConfiguration |
build(boolean validate) |
MemcachedServerConfigurationBuilder |
cache(String cache)
Deprecated.
|
MemcachedServerConfiguration |
create()
Create the configuration bean
|
Builder<?> |
read(MemcachedServerConfiguration template)
Reads the configuration from an already created configuration bean into this builder.
|
MemcachedServerConfigurationBuilder |
self() |
defaultCacheName, host, idleTimeout, ignoredCaches, name, name, port, recvBufSize, sendBufSize, ssl, startTransport, tcpKeepAlive, tcpNoDelay, validate, workerThreads
public MemcachedServerConfigurationBuilder self()
self
in interface Self<MemcachedServerConfigurationBuilder>
@Deprecated public MemcachedServerConfigurationBuilder cache(String cache)
public MemcachedServerConfigurationBuilder adminOperationsHandler(AdminOperationsHandler handler)
ProtocolServerConfigurationChildBuilder
AdminOperationsHandler
which will be used to handle admin operationspublic MemcachedServerConfiguration create()
Builder
create
in interface Builder<MemcachedServerConfiguration>
public MemcachedServerConfiguration build(boolean validate)
public MemcachedServerConfiguration build()
ProtocolServerConfigurationChildBuilder
build
in interface ProtocolServerConfigurationChildBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder>
public Builder<?> read(MemcachedServerConfiguration template)
Builder
read
in interface Builder<MemcachedServerConfiguration>
read
in class ProtocolServerConfigurationBuilder<MemcachedServerConfiguration,MemcachedServerConfigurationBuilder>
template
- the configuration from which to "clone" this config if needed.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.