org.qi4j.entitystore.riak
Interface RiakProtobufEntityStoreConfiguration

All Superinterfaces:
Composite, ConfigurationComposite, EntityComposite, Identity

public interface RiakProtobufEntityStoreConfiguration
extends ConfigurationComposite

Configuration for RiakProtobufEntityStore service.


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> connectionTimeout()
          The connection timeout in milliseconds.
 Property<java.util.List<java.lang.String>> hosts()
          List of Riak Protocol Buffer hosts.
 Property<java.lang.Integer> idleConnectionTTL()
          Idle connection time to live in milliseconds.
 Property<java.lang.Integer> initialPoolSize()
          Initial pool size.
 Property<java.lang.Integer> maxConnections()
          Maximum total connections.
 Property<java.lang.Integer> maxPoolSize()
          Max pool size.
 Property<java.lang.Integer> socketBufferSizeKb()
          Socket buffer size in KB.
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Method Detail

hosts

@UseDefaults
Property<java.util.List<java.lang.String>> hosts()
List of Riak Protocol Buffer hosts. Each entry can contain either an IP address / hostname or an IP address / hostname followed by a column and the host's port. Defaulted to 127.0.0.1 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.


connectionTimeout

@Optional
Property<java.lang.Integer> connectionTimeout()
The connection timeout in milliseconds. Defaulted to 1000.


idleConnectionTTL

@Optional
Property<java.lang.Integer> idleConnectionTTL()
Idle connection time to live in milliseconds. Defaulted to 1000.


maxPoolSize

@UseDefaults
Property<java.lang.Integer> maxPoolSize()
Max pool size. Defaulted to 0 (unlimited).


initialPoolSize

@UseDefaults
Property<java.lang.Integer> initialPoolSize()
Initial pool size. Defaulted to 0.


socketBufferSizeKb

@Optional
Property<java.lang.Integer> socketBufferSizeKb()
Socket buffer size in KB. Defaulted to 16.