polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [29/50] polygene-java git commit: :libraries:circuit-breaker refine
Date Mon, 15 May 2017 11:03:34 GMT
:libraries:circuit-breaker refine


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/54e43a4f
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/54e43a4f
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/54e43a4f

Branch: refs/heads/develop
Commit: 54e43a4f4b30e3ba8cab3339ecba669d5b2d4369
Parents: 6ebe0f2
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon May 15 10:58:54 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon May 15 10:58:54 2017 +0200

----------------------------------------------------------------------
 .../circuitbreaker/jmx/CircuitBreakerJMXMBean.java  | 16 ++++++++--------
 .../jmx/CircuitBreakerManagement.java               |  2 --
 2 files changed, 8 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/54e43a4f/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerJMXMBean.java
----------------------------------------------------------------------
diff --git a/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerJMXMBean.java
b/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerJMXMBean.java
index dcb1488..e94dbda 100644
--- a/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerJMXMBean.java
+++ b/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerJMXMBean.java
@@ -25,14 +25,14 @@ package org.apache.polygene.library.circuitbreaker.jmx;
 */
 public interface CircuitBreakerJMXMBean
 {
-   public String getStatus();
-   public int getThreshold();
-   public double getServiceLevel();
-   public String getLastErrorMessage();
-   public String getTrippedOn();
-   public String getEnableOn();
+   String getStatus();
+   int getThreshold();
+   double getServiceLevel();
+   String getLastErrorMessage();
+   String getTrippedOn();
+   String getEnableOn();
 
-   public String turnOn();
+   String turnOn();
 
-   public void trip();
+   void trip();
 }

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/54e43a4f/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerManagement.java
----------------------------------------------------------------------
diff --git a/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerManagement.java
b/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerManagement.java
index b846e8e..d1ce2b1 100644
--- a/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerManagement.java
+++ b/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerManagement.java
@@ -31,7 +31,6 @@ import org.apache.polygene.api.identity.Identity;
 import org.apache.polygene.api.injection.scope.Service;
 import org.apache.polygene.api.injection.scope.Structure;
 import org.apache.polygene.api.mixin.Mixins;
-import org.apache.polygene.api.service.ServiceComposite;
 import org.apache.polygene.api.service.ServiceReference;
 import org.apache.polygene.api.structure.Application;
 import org.apache.polygene.library.circuitbreaker.CircuitBreaker;
@@ -47,7 +46,6 @@ import org.slf4j.LoggerFactory;
 @Mixins( CircuitBreakerManagement.Mixin.class )
 @Activators( CircuitBreakerManagement.Activator.class )
 public interface CircuitBreakerManagement
-        extends ServiceComposite
 {
 
     /**


Mime
View raw message