public class QuasardbConfig extends Object
QuasardbNode. Each node is a part of the quasardb cluster to contact.| Constructor and Description |
|---|
QuasardbConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(QuasardbNode node)
Add a new
QuasardbNode to the cluster configuration |
long |
getExpiryTimeInSeconds()
Get default expiry time for all entries.
|
Collection<QuasardbNode> |
getNodes()
Get all nodes of the cluster
|
boolean |
removeNode(QuasardbNode node)
Remove a
QuasardbNode from the cluster configuration. |
void |
setExpiryTimeInSeconds(long expiryTimeInSeconds)
Set default expiry time for all new incoming entries of the cluster.
|
public long getExpiryTimeInSeconds()
public void setExpiryTimeInSeconds(long expiryTimeInSeconds)
expiryTimeInSeconds - expiry time in seconds for all new data.public Collection<QuasardbNode> getNodes()
QuasardbNodepublic void addNode(QuasardbNode node)
QuasardbNode to the cluster configurationnode - node to addpublic boolean removeNode(QuasardbNode node)
QuasardbNode from the cluster configuration.node - node to remove from the cluster ring.Copyright © 2015 quasardb. All Rights Reserved.