http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/extension-es-geode.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/extension-es-geode.html b/content/java/3.0.0/extension-es-geode.html new file mode 100644 index 0000000..b75a1f8 --- /dev/null +++ b/content/java/3.0.0/extension-es-geode.html @@ -0,0 +1,87 @@ + +Geode EntityStore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

Geode EntityStore

code

docs

tests

EntityStore service backed by the Apache Geode data grid.

Table 53. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-geode

3.0.0


Assembly

Assembly is done using the provided Assembler:

public voi
 d assemble( ModuleAssembly module )
+    throws AssemblyException
+{
+  [...snip...]
+
+    new GeodeEntityStoreAssembler().withConfig( config, Visibility.layer ).assemble( module );
+}
+

Configuration

Here are the configuration properties for the Geode EntityStore:

Traceback (most recent call last):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 100, in <module>
+    for line in snippet(**configuration(indata)):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 51, in snippet
+    sourceFile = open(PATH_PATTERN % locals())
+IOError: [Errno 2] No such file or directory: 'extensions/entitystore-geode/src/main/java/org/apache/polygene/entitystore/geode/GeodeConfiguration.java'
+
\ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/extension-es-hazelcast.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/extension-es-hazelcast.html b/content/java/3.0.0/extension-es-hazelcast.html new file mode 100644 index 0000000..d7cded4 --- /dev/null +++ b/content/java/3.0.0/extension-es-hazelcast.html @@ -0,0 +1,87 @@ + +Hazelcast EntityStore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

Hazelcast EntityStore

code

docs

tests

EntityStore service backed by the Hazelcast in-memory data grid.

Table 54. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-hazelcast

3.0.0


Assembly

Assembly is done using the provided Assembler:

public void assemble( ModuleAssembly module )
+    throws AssemblyException
+{
+  [...snip...]
+
+    new HazelcastEntityStoreAssembler().withConfig( configModule, Visibility.layer ).assemble( module );
+}
+

Configuration

Here are the configuration properties for the Hazelcast EntityStore:

Traceback (most recent call last):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 100, in <module>
+    for line in snippet(**configuration(indata)):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 51, in snippet
+    sourceFile = open(PATH_PATTERN % locals())
+IOError: [Errno 2] No such file or directory: 'extensions/entitystore-hazelcast/src/main/java/org/apache/polygene/entitystore/hazelcast/HazelcastConfiguration.java'
+

configXmlLocation represent the location of the Hazelcast XML based configuration.

mapName is the name of the used Hazelcast Map

\ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/extension-es-jclouds.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/extension-es-jclouds.html b/content/java/3.0.0/extension-es-jclouds.html new file mode 100644 index 0000000..23bd076 --- /dev/null +++ b/content/java/3.0.0/extension-es-jclouds.html @@ -0,0 +1,87 @@ + +JClouds EntityStore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

JClouds EntityStore

code

docs

tests

EntityStore service backed by a JClouds BlobStore.

It means you get access to a growing list of providers available at the +JClouds website that includes Amazon, VMWare, Azure, +and Rackspace.

For testing purpose theses providers are supported too:

Table 55. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-jclouds

3.0.0


Assembly

Assembly is done using the provided Assembler:

new JCloudsEntityStoreAssembler().withConfig( config, 
 Visibility.layer ).assemble( module );
+

Configuration

Here are the configuration properties for the JClouds EntityStore:

Traceback (most recent call last):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 100, in <module>
+    for line in snippet(**configuration(indata)):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 51, in snippet
+    sourceFile = open(PATH_PATTERN % locals())
+IOError: [Errno 2] No such file or directory: 'extensions/entitystore-jclouds/src/main/java/org/apache/polygene/entitystore/jclouds/JCloudsMapEntityStoreConfiguration.java'
+
\ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/extension-es-jdbm.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/extension-es-jdbm.html b/content/java/3.0.0/extension-es-jdbm.html new file mode 100644 index 0000000..33a7068 --- /dev/null +++ b/content/java/3.0.0/extension-es-jdbm.html @@ -0,0 +1,88 @@ + +JDBM EntityStore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

JDBM EntityStore

code

docs

tests

EntityStore service backed by an embedded JDBM2 database.

Table 56. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-jdbm

3.0.0


Assembly

Assembly is done using the provided Assembler:

@Override
+public void assemble( ModuleAssembly module )
+    throws AssemblyException
+{
+    new JdbmEntityStoreAssembler().assemble( module );
+}
+

Configuration

Here are the configuration properties for the JDBM EntityStore:

Traceback (most recent call last):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 100, in <module>
+    for line in snippet(**configuration(indata)):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 51, in snippet
+    sourceFile = open(PATH_PATTERN % locals())
+IOError: [Errno 2] No such file or directory: 'extensions/entitystore-jdbm/src/main/java/org/apache/polygene/entitystore/jdbm/JdbmConfiguration.java'
+

file is optional and represent the file where the JDBM EntityStore will keep its persisted state.

It defaults to System.getProperty( "user.dir" ) + "/polygene/jdbmstore.data" +If the given path is not absolute, then it’s relative to the current working directory. +If you use the FileConfig Library then this property value is ignored and FileConfig is prefered.

\ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/extension-es-leveldb.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/extension-es-leveldb.html b/content/java/3.0.0/extension-es-leveldb.html new file mode 100644 index 0000000..72174dd --- /dev/null +++ b/content/java/3.0.0/extension-es-leveldb.html @@ -0,0 +1,125 @@ + +LevelDB EntityStore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

LevelDB EntityStore

code

docs

tests

EntityStore service backed by a LevelDB embedded database.

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to +string values.

By default use the native implementation through JNI bindings and fallback to the pure Java implementation if not +available on the current platform. Used implementation can be forced in the configuration.

The LevelDB EntityStore relies on the FileConfig Library to decide where it stores its database.

Table 57. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-leveldb

3.0.0


Assembly

Assembly is done using the provided Assembler:

public void assemble( ModuleAssembly module )
+    throws AssemblyException
+{
+  [...snip...]
+
+    new LevelDBEntityStoreAssembler()
+        .withConfig( config, Visibility.layer )
+        .identifiedBy( "java-leveldb-entitystore" )
+        .assemble( module );
+          [...snip...]
+
+}
+

Configuration

Here are the configuration properties for the LevelDB EntityStore:

public interface LevelDBEntityStoreConfiguration
+{
+    /**
+     * LevelDB flavour, can be 'java' or 'jni'.
+     * By default, tries 'jni' and fallback to 'java'.
+     */
+    @Optional
+    Property<String> flavour();
+
+    @Optional
+    Property<Integer> blockRestartInterval();
+
+    @Optional
+    Property<Integer> blockSize();
+
+    @Optional
+    Property<Long> cacheSize();
+
+    @Optional
+    Property<Boolean> compression();
+
+    @Optional
+    Property<Integer> maxOpenFiles();
+
+    @Optional
+    Property<Boolean> paranoidChecks();
+
+    @Optional
+    Property<Boolean> verifyChecksums();
+
+    @Optional
+    Property<Integer> writeBufferSize();
+
+    @Optional
+    Property<Boolean> errorIfExists();
+}
+

All configuration properties are defaulted to the implementation defaults meaning that you can use LevelDB EntityStore +service without configuration.

\ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/extension-es-memory.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/extension-es-memory.html b/content/java/3.0.0/extension-es-memory.html new file mode 100644 index 0000000..e9da235 --- /dev/null +++ b/content/java/3.0.0/extension-es-memory.html @@ -0,0 +1,81 @@ + +Memory EntityStore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

Memory EntityStore

code

docs

tests

EntityStore service backed by an in-memory Map .

Table 51. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-memory

3.0.0


Assembly

Assembly is done as follows:

@Override
+public void assemble( ModuleAssembly module )
+{
+    new MemoryEntityStoreAssembler().assemble( module );
+      [...snip...]
+
+}
+

This EntityStore has no configuration.

\ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/extension-es-mongodb.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/extension-es-mongodb.html b/content/java/3.0.0/extension-es-mongodb.html new file mode 100644 index 0000000..52fd9f5 --- /dev/null +++ b/content/java/3.0.0/extension-es-mongodb.html @@ -0,0 +1,87 @@ + +MongoDB EntityStore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

MongoDB EntityStore

code

docs

tests

EntityStore service backed by a MongoDB collection in which Entity state is stored as native +MongoDB BSON.

Table 58. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-mongodb

3.0.0


Assembly

Assembly is done using the provided Assembler:

Traceback (most recent call last):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 100, in <module>
+    for line in snippet(**configuration(indata)):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 51, in snippet
+    sourceFile = open(PATH_PATTERN % locals())
+IOError: [Errno 2] No such file or directory: 'extensions/entitystore-mongodb/src/test/java/org/apache/polygene/entitystore/mongodb/MongoMapEntityStoreTest.java'
+

Configuration

Here are the configuration properties for the MongoDB EntityStore:

Traceback (most recent call last):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 100, in <module>
+    for line in snippet(**configuration(indata)):
+  File "/Users/paul/.asciidoc/filters/snippet/snippet.py", line 51, in snippet
+    sourceFile = open(PATH_PATTERN % locals())
+IOError: [Errno 2] No such file or directory: 'extensions/entitystore-mongodb/src/main/java/org/apache/polygene/entitystore/mongodb/MongoEntityStoreConfiguration.java'
+
\ No newline at end of file http://git-wip-us.apache.org/repos/asf/polygene-website/blob/86741dec/content/java/3.0.0/extension-es-preferences.html ---------------------------------------------------------------------- diff --git a/content/java/3.0.0/extension-es-preferences.html b/content/java/3.0.0/extension-es-preferences.html new file mode 100644 index 0000000..533bdd9 --- /dev/null +++ b/content/java/3.0.0/extension-es-preferences.html @@ -0,0 +1,81 @@ + +Preferences EntityStore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

Preferences EntityStore

code

docs

tests

EntityStore service backed by +java.​util.​prefs.​Preferences. It can be a good +candidate to store Configuration Composites.

Table 59. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-preferences

3.0.0


Assembly

Assembly is done using the provided Asse mbler:

public void assemble( ModuleAssembly module )
+        throws AssemblyException
+{
+    new PreferencesEntityStoreAssembler().assemble( module );
+}
+
\ No newline at end of file