You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2015/01/23 20:00:19 UTC
[09/10] incubator-nifi git commit: NIFI-290: applying patch from
Ricky Saltzer
NIFI-290: applying patch from Ricky Saltzer
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/f9cfbae6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/f9cfbae6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/f9cfbae6
Branch: refs/heads/develop
Commit: f9cfbae643d604bb52f73955941872665c7873de
Parents: 8a9960e
Author: Mark Payne <ma...@hotmail.com>
Authored: Fri Jan 23 13:46:11 2015 -0500
Committer: Mark Payne <ma...@hotmail.com>
Committed: Fri Jan 23 13:46:11 2015 -0500
----------------------------------------------------------------------
.../index.html | 20 +++++++++++++++++++
.../index.html | 21 ++++++++++++++++++++
2 files changed, 41 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/f9cfbae6/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src/main/resources/docs/org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService/index.html
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src/main/resources/docs/org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService/index.html b/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src/main/resources/docs/org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService/index.html
index d5f3595..3e5197a 100644
--- a/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src/main/resources/docs/org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService/index.html
+++ b/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-client-service/src/main/resources/docs/org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService/index.html
@@ -67,6 +67,26 @@
</ul>
+ <p>
+ Below is an example of how to create a client connection to your distributed map cache server.
+ Note that the identifier in this example is <code>cache-client</code>. If you are using this template
+ to create your own MapCacheClient service, replace the values in this template with values that are
+ suitable for your system. Possible options for <code>Server Hostname</code>, <code>Server Port</code>,
+ <code>Communications Timeout</code>, and <span style="font-style: italic;">SSL Context Service</span>.
+ </p>
+
+ <pre>
+<?xml version="1.0" encoding="UTF-8" ?>
+<services>
+ <service>
+ <identifier>cache-client</identifier>
+ <class>org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService</class>
+ <property name="Server Hostname">localhost</property>
+ <property name="Server Port">4557</property>
+ <property name="Communications Timeout">30 secs</property>
+ </service>
+</services>
+ </pre>
<i>See Also:</i>
<ul>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/f9cfbae6/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/resources/docs/org.apache.nifi.distributed.cache.server.map.DistributedMapCacheServer/index.html
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/resources/docs/org.apache.nifi.distributed.cache.server.map.DistributedMapCacheServer/index.html b/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/resources/docs/org.apache.nifi.distributed.cache.server.map.DistributedMapCacheServer/index.html
index dca3aa1..918cb22 100644
--- a/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/resources/docs/org.apache.nifi.distributed.cache.server.map.DistributedMapCacheServer/index.html
+++ b/nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/resources/docs/org.apache.nifi.distributed.cache.server.map.DistributedMapCacheServer/index.html
@@ -71,6 +71,27 @@
</ul></li>
</ul>
+ <p>
+ Below is an example of how to create a distributed map cache server for clients to connect to.
+ Note that the identifier in this example is <code>cache-server</code>. If you are using this template
+ to create your own DistributedMapCache server, replace the values in this template with values that are
+ suitable for your system. Possible options for <code>Port</code>, <code>Maximum Cache Entries</code>,
+ <code>Eviction Strategy</code>, <span style="font-style: italic;">SSL Context Service</span>, and
+ <span style="font-style: italic;">Persistence Directory</span>
+ </p>
+
+ <pre>
+<?xml version="1.0" encoding="UTF-8" ?>
+<services>
+ <service>
+ <identifier>cache-server</identifier>
+ <class>org.apache.nifi.distributed.cache.client.DistributedMapCacheServer</class>
+ <property name="Port">4557</property>
+ <property name="Maximum Cache Entries">10000</property>
+ <property name="Eviction Strategy">Least Recently Used</property>
+ </service>
+</services>
+ </pre>
<i>See Also:</i>
<ul>