Class RiakKeyValueConfiguration
java.lang.Object
org.eclipse.jnosql.databases.riak.communication.RiakKeyValueConfiguration
- All Implemented Interfaces:
Function<org.eclipse.jnosql.communication.Settings,,org.eclipse.jnosql.communication.keyvalue.BucketManagerFactory> org.eclipse.jnosql.communication.keyvalue.KeyValueConfiguration
public class RiakKeyValueConfiguration
extends Object
implements org.eclipse.jnosql.communication.keyvalue.KeyValueConfiguration
The riak implementation to
KeyValueConfiguration that returns RiakBucketManagerFactory.
riak.host-: The prefix to host. eg: riak.server.host.1= host1-
Field Summary
Fields inherited from interface org.eclipse.jnosql.communication.keyvalue.KeyValueConfiguration
CONFIGURATIONS -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RiakKeyValueConfiguration
public RiakKeyValueConfiguration()
-
-
Method Details
-
add
Adds new Riak node- Parameters:
node- the node- Throws:
NullPointerException- when node is null
-
add
Adds a new address on riak- Parameters:
address- the address to be added- Throws:
NullPointerException- when address is null
-
apply
-