usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [22/50] [abbrv] incubator-usergrid git commit: added config options for multiregion
Date Thu, 28 May 2015 12:53:27 GMT
added config options for multiregion


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/8adf0488
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/8adf0488
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/8adf0488

Branch: refs/heads/USERGRID-669
Commit: 8adf0488a354be5d145c80eacc06992b888f96c5
Parents: 5977160
Author: Jeff West <jwest@apigee.com>
Authored: Tue May 26 09:06:34 2015 -0700
Committer: Jeff West <jwest@apigee.com>
Committed: Tue May 26 09:06:34 2015 -0700

----------------------------------------------------------------------
 .../usergrid/persistence/queue/QueueFig.java     | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/8adf0488/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
b/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
index c1d84db..056982c 100644
--- a/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
+++ b/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
@@ -20,8 +20,27 @@ public interface QueueFig extends GuicyFig {
     @Default("us-east-1")
     public String getRegion();
 
+    @Key( "usergrid.queue.multiregion" )
+    @Default("false")
+    public boolean isMultiRegion();
+
+    @Key( "usergrid.queue.regionList" )
+    @Default("us-east-1")
+    public String getRegionList();
+
     @Key( "usergrid.queue.prefix" )
     @Default("usergrid")
     public String getPrefix();
 
+    @Key( "usergrid.queue.retention" )
+    @Default("1209600")
+    public String getRetentionPeriod();
+
+    @Key( "usergrid.queue.deadletter.retention" )
+    @Default("1209600")
+    public String getDeadletterRetentionPeriod();
+
+    @Key( "usergrid.queue.deliveryLimit" )
+    @Default("5")
+    public String getQueueDeliveryLimit();
 }


Mime
View raw message