You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2015/01/26 13:15:24 UTC

[10/14] 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/NIFI-250
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>
+&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
+&lt;services&gt;
+    &lt;service&gt;
+        &lt;identifier&gt;cache-client&lt;/identifier&gt;
+        &lt;class&gt;org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService&lt;/class&gt;
+        &lt;property name="Server Hostname"&gt;localhost&lt;/property&gt;
+        &lt;property name="Server Port"&gt;4557&lt;/property&gt;
+        &lt;property name="Communications Timeout"&gt;30 secs&lt;/property&gt;
+    &lt;/service&gt;
+&lt;/services&gt;
+	</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>
+&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
+&lt;services&gt;
+    &lt;service&gt;
+        &lt;identifier&gt;cache-server&lt;/identifier&gt;
+        &lt;class&gt;org.apache.nifi.distributed.cache.client.DistributedMapCacheServer&lt;/class&gt;
+        &lt;property name="Port"&gt;4557&lt;/property&gt;
+        &lt;property name="Maximum Cache Entries"&gt;10000&lt;/property&gt;
+        &lt;property name="Eviction Strategy"&gt;Least Recently Used&lt;/property&gt;
+    &lt;/service&gt;
+&lt;/services&gt;
+	</pre>
 
 	<i>See Also:</i>
 	<ul>