public abstract class RedisPoolDescriptor extends Object implements Descriptor
Modifier and Type | Field and Description |
---|---|
int |
database |
protected boolean |
disabled |
int |
maxIdle |
int |
maxTotal |
String |
password |
String |
prefix |
int |
timeout |
UNIQUE_DESCRIPTOR_ID
Constructor and Description |
---|
RedisPoolDescriptor() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
The descriptor id, descriptors with same id are merged.
|
protected abstract RedisExecutor |
newExecutor() |
void |
setPassword(String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doesRemove, merge
protected boolean disabled
public int database
public int timeout
public int maxTotal
public int maxIdle
public RedisPoolDescriptor()
public final String getId()
Descriptor
To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden toString()
for exemple.
getId
in interface Descriptor
public void setPassword(String value)
protected abstract RedisExecutor newExecutor()
Copyright © 2019 Nuxeo. All rights reserved.