public static class MemcachedDatasource.Configuration extends KeyValueDatasource.Configuration<MemcachedDatasource.Configuration>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
net.spy.memcached.MemcachedClient |
client() |
void |
close() |
<T> MemcachedDatasource<T> |
create(EntityModel<T> entityModel) |
List<String> |
hosts() |
MemcachedDatasource.Configuration |
withHosts(String... hosts) |
keyspace, withKeyspacepublic static final int DEFAULT_PORT
public MemcachedDatasource.Configuration withHosts(String... hosts)
public <T> MemcachedDatasource<T> create(EntityModel<T> entityModel)
public void close()
public net.spy.memcached.MemcachedClient client()
Copyright © 2021. All rights reserved.