org.qi4j.entitystore.riak
Interface RiakHttpEntityStoreConfiguration

All Superinterfaces:
Composite, ConfigurationComposite, EntityComposite, Identity

public interface RiakHttpEntityStoreConfiguration
extends ConfigurationComposite

Configuration for RiakHttpEntityStoreService.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Method Summary
 Property<java.lang.String> bucket()
          Riak Bucket where Entities state will be stored.
 Property<java.lang.Integer> maxConnections()
          Maximum total connections.
 Property<java.lang.Integer> timeout()
          The connection, socket read and pooled connection acquisition timeout in milliseconds.
 Property<java.util.List<java.lang.String>> urls()
          List of Riak URLs.
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Method Detail

urls

@UseDefaults
Property<java.util.List<java.lang.String>> urls()
List of Riak URLs. Defaulted to http://127.0.0.1:8098/riak if empty.


bucket

@Optional
Property<java.lang.String> bucket()
Riak Bucket where Entities state will be stored. Defaulted to "qi4j:entities".


maxConnections

@Optional
Property<java.lang.Integer> maxConnections()
Maximum total connections. Defaulted to 50. Use 0 for infinite number of connections.


timeout

@UseDefaults
Property<java.lang.Integer> timeout()
The connection, socket read and pooled connection acquisition timeout in milliseconds. Defaulted to 0 (infinite).