Return-Path: X-Original-To: apmail-zest-commits-archive@minotaur.apache.org Delivered-To: apmail-zest-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69B8518F79 for ; Mon, 15 Jun 2015 10:37:05 +0000 (UTC) Received: (qmail 99243 invoked by uid 500); 15 Jun 2015 10:37:05 -0000 Delivered-To: apmail-zest-commits-archive@zest.apache.org Received: (qmail 99206 invoked by uid 500); 15 Jun 2015 10:37:05 -0000 Mailing-List: contact commits-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list commits@zest.apache.org Received: (qmail 99139 invoked by uid 99); 15 Jun 2015 10:37:05 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 10:37:05 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 257B5AC0A44 for ; Mon, 15 Jun 2015 10:37:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1685534 [3/15] - in /zest/site/content/qi4j/develop: ./ css/ Date: Mon, 15 Jun 2015 10:37:03 -0000 To: commits@zest.apache.org From: paulmerlin@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150615103705.257B5AC0A44@hades.apache.org> Modified: zest/site/content/qi4j/develop/extension-es-preferences.html URL: http://svn.apache.org/viewvc/zest/site/content/qi4j/develop/extension-es-preferences.html?rev=1685534&r1=1685533&r2=1685534&view=diff ============================================================================== --- zest/site/content/qi4j/develop/extension-es-preferences.html (original) +++ zest/site/content/qi4j/develop/extension-es-preferences.html Mon Jun 15 10:37:01 2015 @@ -1,5 +1,5 @@ -Preferences EntityStore +Preferences EntityStore @@ -66,11 +66,16 @@ })(); -

Preferences EntityStore

code

docs

tests

EntityStore service backed by +

Preferences EntityStore

code

docs

tests

EntityStore ser vice backed by java.​util.​prefs.​Preferences. It can be a good -candidate to store Configuration Composites.

Table 76. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-preferences

0


Assembly

Assembly is done using the provided Assembler:

public void assemble( ModuleAssembly module )
+candidate to store Configuration Composites.

Table 70. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-preferences

0


Assembly

Assembly is done using the provided Assembler:

public void assemble( ModuleAssembly module )
         throws AssemblyException
 {
     new PreferenceEntityStoreAssembler().assemble( module );
 }
-
\ No newline at end of file +
\ No newline at end of file Modified: zest/site/content/qi4j/develop/extension-es-redis.html URL: http://svn.apache.org/viewvc/zest/site/content/qi4j/develop/extension-es-redis.html?rev=1685534&r1=1685533&r2=1685534&view=diff ============================================================================== --- zest/site/content/qi4j/develop/extension-es-redis.html (original) +++ zest/site/content/qi4j/develop/extension-es-redis.html Mon Jun 15 10:37:01 2015 @@ -66,14 +66,14 @@ })(); -

Redis EntityStore

< span class="comment">

code

docs

tests

EntityStore service backed by a Redis database.

Table 77. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-redis

0


Assembly

Assembly is done using the provided Assembler.

public void assemble( ModuleAssembly module )
+  

Redis EntityStore

code

docs

tests

EntityStore service backed by a Redis database.

Table 71. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-redis

0


Assembly

Assembly is done using the provided Assembler.

public void assemble(
  ModuleAssembly module )
     throws AssemblyException
 {
 [...snip...]
 
     new RedisMapEntityStoreAssembler().withConfig( config, Visibility.layer ).assemble( module );
 }
-

Configuration

Here are the configuration properties for the Redis client:

public interface RedisEntityStoreConfiguration
+

Configuration

Here are the configuration properties for the Redis client:

public interface RedisEntityStoreConfiguration
         extends ConfigurationComposite
 {
 
@@ -116,4 +116,9 @@
     Property<Integer> database();
 
 }
-
\ No newline at end of file +
\ No newline at end of file Modified: zest/site/content/qi4j/develop/extension-es-riak.html URL: http://svn.apache.org/viewvc/zest/site/content/qi4j/develop/extension-es-riak.html?rev=1685534&r1=1685533&r2=1685534&view=diff ============================================================================== --- zest/site/content/qi4j/develop/extension-es-riak.html (original) +++ zest/site/content/qi4j/develop/extension-es-riak.html Mon Jun 15 10:37:01 2015 @@ -66,7 +66,7 @@ })(); -

Riak EntityStore

code

docs

tests

EntityStore service backed by a Riak bucket.

The EntityStore comes in two flavours: HTTP or ProtocolBuffer based. See the Riak documentation.

Table 78. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-riak

0


Assembly

Assembly is done using the provided Assemblers.

For HTTP based Riak client:

public void assemble( ModuleAssembly module )
+  

Riak EntityStore

code

docs

tests

EntityStore service backed by a Riak bucket.

The EntityStore comes in two flavours: HTTP or ProtocolBuffer based. See the Riak documentation.

Table 72. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-riak

0


Assembly

Assembly is do ne using the provided Assemblers.

For HTTP based Riak client:

public void assemble( ModuleAssembly module )
     throws AssemblyException
 {
 [...snip...]
@@ -80,7 +80,7 @@
 
     new RiakProtobufMapEntityStoreAssembler().withConfig( config, Visibility.layer ).assemble( module );
 }
-

Configuration

Here are the configuration properties for the HTTP based Riak client:

public interface RiakHttpEntityStoreConfiguration
+

Configuration

Here are the configuration properties for the HTTP based Riak client:

public interface RiakHttpEntityStoreConfiguration
         extends ConfigurationComposite
 {
 
@@ -189,4 +189,9 @@
     Property<Integer> socketBufferSizeKb();
 
 }
-
\ No newline at end of file +
\ No newline at end of file Modified: zest/site/content/qi4j/develop/extension-es-sql.html URL: http://svn.apache.org/viewvc/zest/site/content/qi4j/develop/extension-es-sql.html?rev=1685534&r1=1685533&r2=1685534&view=diff ============================================================================== --- zest/site/content/qi4j/develop/extension-es-sql.html (original) +++ zest/site/content/qi4j/develop/extension-es-sql.html Mon Jun 15 10:37:01 2015 @@ -66,7 +66,7 @@ })(); -

SQL EntityStore

code

docs

tests

EntityStore service backed by a SQL database.

This extension fully leverage the SQL Library meaning that you must use it to assemble your DataSource and that you +

SQL EntityStore

code

docs

tests

EntityStore service backed by a SQL data base.

This extension fully leverage the SQL Library meaning that you must use it to assemble your DataSource and that you get Circuit Breaker and JMX integration for free.

Tip

See the SQL Support Sample that demonstrate combined use of SQL Library, SQL EntityStore and SQL Index/Query.

The following SQL databases are supported:

Each entity state is stored as a single row so maximum number of entities is the maximum number of rows per table supported by the underlying SQL database.

Implementations per database Vendor share a generic codebase but can override about everything SQL. As a consequence -they can have strong differences in terms of performance if they use vendor specific extensions.

Table 79. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-sql

0


Configuration

SQL EntityStore Configuration is optional and provides only one configur ation property: schemaName defaulted to +they can have strong differences in terms of performance if they use vendor specific extensions.

Table 73. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-sql

0


Configuration

SQL EntityStore Configuration is optional and provides only one configur ation property: schemaName defaulted to qi4j_es. On SQL databases that don’t support schemas this configuration property is simply ignored.

The assembly snippets below show the DataSource assembly alongside the SQL EntityStore assembly. Remember to configure the DataSource properly, see SQL Library and Configure a Service.

PostgreSQL

Maximum number of entities is unlimited.

Assembly is done using the provided Assembler:

public void assemble( ModuleAssembly module )
     throws AssemblyException
@@ -233,4 +233,9 @@ password=
(c) 2012 The Qi4j Community
\ No newline at end of file +password=
\ No newline at end of file Modified: zest/site/content/qi4j/develop/extension-es-voldemort.html URL: http://svn.apache.org/viewvc/zest/site/content/qi4j/develop/extension-es-voldemort.html?rev=1685534&r1=1685533&r2=1685534&view=diff ============================================================================== --- zest/site/content/qi4j/develop/extension-es-voldemort.html (original) +++ zest/site/content/qi4j/develop/extension-es-voldemort.html Mon Jun 15 10:37:01 2015 @@ -66,4 +66,120 @@ })(); -

Voldemort EntityStore

code

docs

tests

Voldemort EntityStore

Note

This Extension has no documentation yet. Learn how to contribute in Writing Documentation.

Table 80. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-voldemort

0


\ No newline at end of file +

Voldemort EntityStore

code

docs

tests

EntityStore service back ed by Voldemort.

Table 74. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.entitystore-voldemort

0


Assembly

Assembly is done using the provided Assembler.

@Override
+public void assemble( ModuleAssembly module )
+    throws AssemblyException
+{
+[...snip...]
+
+    new VoldemortAssembler().
+        visibleIn( Visibility.layer ).
+        withConfig( config, Visibility.layer ).
+        assemble( module );
+

Configuration

Most of the configuration of Voldemort is available in the Qi4j Configuration Entity.

    @Optional
+    Property<String> storeName();
+
+    [...snip...]
+
+    @Optional
+    Property<Integer> connectionTimeout();
+
+    /**
+     * The Bootstrap URL for Voldemort runtime to use.
+     * <p>
+     * The configuration property is optional. Default: "tcp://localhost:8581"
+     * </p>
+     * <p>
+     * This value is used to call voldemort.client.ClientConfig#setBootstrapUrls(java.util.List)
+     * </p>
+     *
+     * @return The property containing the bootstrap URL configuration.
+     */
+    @Optional
+    Property<List<String>> bootstrapUrl();
+
+    @Optional
+    Property<Boolean> enableJmx();
+
+    [...snip...]
+
+    @Optional
+    Property<Long> failureDetectorAsyncRecoveryInterval();
+
+    @Optional
+    Property<Long> failureDetectorBannagePeriod();
+
+    @Optional
+    Property<List<String>> failureDetectorCatastrophicErrorType();
+
+    @Optional
+    Property<String> failureDetectorImplementation();
+
+    @Optional
+    Property<Long> failureDetectoreRequestLengthThreshold();
+
+    @Optional
+    Property<Integer> failureDetectorThreshold();
+
+    @Optional
+    Property<Integer> failureDetectorThresholdCountMinimum();
+
+    @Optional
+    Property<Long> failureDetectorThreasholdInterval();
+
+    @Optional
+    Property<Integer> maxBootstrapRetries();
+
+    @Optional
+    Property<Integer> setMaxConnectionsPerNode();
+
+    @Optional
+    Property<Integer> maxQueueRequests();
+
+    @Optional
+    Property<Integer> maxThreads();
+
+    @Optional
+    Property<Integer> maxTotalConnections();
+
+    /** Voldemort has avolved the format over time, and this property sets which request format to use.
+     * See {@code voldemort.client.protocol.RequestFormatType} in Voldemort for further details.
+     *
+     * @return The configuration property that contains the request type formet used in Voldemort.
+     */
+    @Optional
+    Property<String> requestFormatType();
+
+    /** Sets the routing tier of this Voldemort runtime.
+     * <p>
+     *     Possible values are 'client' and 'server'. See {@code voldemort.client.RoutingTier} in
+     *     Voldemort for details.
+     * </p>
+     * @return the confirguration property that contains the Routing Tier setting for Voldemort.
+     */
+    @Optional
+    Property<String> routingTier();
+
+    @Optional
+    Property<Integer> routingTimeout();
+
+    [...snip...]
+
+    @Optional
+    Property<Integer> socketBufferSize();
+
+    @Optional
+    Property<Boolean> socketKeepAlive();
+
+    @Optional
+    Property<Integer> socketTimeout();
+
+    @Optional
+    Property<Integer> threadIdleTime();
+}
+
\ No newline at end of file Modified: zest/site/content/qi4j/develop/extension-index-elasticsearch.html URL: http://svn.apache.org/viewvc/zest/site/content/qi4j/develop/extension-index-elasticsearch.html?rev=1685534&r1=1685533&r2=1685534&view=diff ============================================================================== --- zest/site/content/qi4j/develop/extension-index-elasticsearch.html (original) +++ zest/site/content/qi4j/develop/extension-index-elasticsearch.html Mon Jun 15 10:37:01 2015 @@ -66,14 +66,14 @@ })(); -

ElasticSearch Index/Query

code

docs

tests

Index/Query services backed by ElasticSearch search engine built on top of +

ElasticSearch Index/Query

code

docs

tests

Index/Que ry services backed by ElasticSearch search engine built on top of Apache Lucene.

Warning

ElasticSearch Index/Query do not support ComplexQueries from the Query API, ie. queries by "example value".

Three modes of operation are supported:

  • in-memory ;
  • on-filesystem ;
  • clustered. -

Table 81. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.indexing-elasticsearch

0


Embedded: in Memory or on FileSystem

Both in-memory and on-filesystem assemblies share the same configuration properties, see below.

In Memory Assembly

In-memory ElasticSearch Index/Query service relies on the FileConfig Library to decide where it stores its +

Table 75. Artifact

Group IDArtifact IDVersion

org.qi4j.extension

org.qi4j.extension.indexing-elasticsearch

0


Embedded: in Memory or on FileSystem

Both in-memory and on-filesystem assemblies share the same configuration properties, see below.

In Memory Assembly

In-memory ElasticSearch Index/Query service relies on the FileConfig Library to decide where it stores its transaction logs as there’s no in-memory transaction log implementation in ElasticSearch.

Assembly is done using the provided Assembler:

new ESMemoryIndexQueryAssembler().withConfig( configModule, configVisibility ).assemble( module );
 
On FileSystem Assembly

Filesystem based ElasticSearch Index/Query service relies on the FileConfig Library to decide where it stores its index data, transaction logs etc…

Assembly is done using the provided Assembler:

new ESFilesystemIndexQueryAssembler().withConfig( configModule, configVisibility ).assemble( module );
@@ -103,7 +103,7 @@ Associations set the 

In an ElasticSearch cluster

Assembly

Assembly is done using the provided Assembler:

new ESClusterIndexQueryAssembler().withConfig( configModule, configVisibility ).assemble( module );
+configuration.

In an ElasticSearch cluster

Assembly

Assembly is done using the provided Assembler:

new ESClusterIndexQueryAssembler().withConfig( configModule, configVisibility ).assemble( module );
 
Configuration

Here are the configuration properties for the clustered ElasticSearch Index/Query service. Note that it inherits the properties defined in the in-memory or on-filesystem configuration, see above.

public interface ElasticSearchClusterConfiguration
         extends ElasticSearchConfiguration
@@ -143,4 +143,9 @@ properties defined in the in-memory or o
 
 }
 

Again, all configuration properties are defaulted meaning that you can use ElasticSearch Index/Query service without -configuration.

\ No newline at end of file +configuration.

\ No newline at end of file