public interface IMemcachedSettings
Modifier and Type | Method and Description |
---|---|
int |
getExpirationTime() |
int |
getPort() |
List<String> |
getServerList() |
org.apache.wicket.util.time.Duration |
getShutdownTimeout() |
IMemcachedSettings |
setExpirationTime(int expirationTime)
Sets the duration after which a record will be evicted by Memcached.
|
IMemcachedSettings |
setPort(int port)
Sets the port where Memcached server listens to
|
IMemcachedSettings |
setServerNames(String serverNames)
Parses the hostnames of the Memcached servers
|
IMemcachedSettings |
setShutdownTimeout(org.apache.wicket.util.time.Duration timeout)
Sets the time to wait when shutting down the connection to
the Memcached server.
|
IMemcachedSettings setServerNames(String serverNames)
serverNames
- comma separated list of the hostnames
where Memcached servers runint getPort()
IMemcachedSettings setPort(int port)
port
- the port where Memcached server listens toint getExpirationTime()
IMemcachedSettings setExpirationTime(int expirationTime)
expirationTime
- the duration after which the record will be
evicted by Memcachedorg.apache.wicket.util.time.Duration getShutdownTimeout()
IMemcachedSettings setShutdownTimeout(org.apache.wicket.util.time.Duration timeout)
timeout
- the time to wait when shutting down the connection to
the Memcached serverCopyright © 2015. All rights reserved.