You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2014/11/05 11:35:24 UTC
[02/50] [abbrv] git commit: diff fixing 1
diff fixing 1
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/e1cf3082
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e1cf3082
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e1cf3082
Branch: refs/heads/docker-grouping-merge-wip
Commit: e1cf308263217696e2dd02d3a8919feb6db04cb8
Parents: 32b89e2
Author: Asiri LIyana Arachchi <as...@gmail.com>
Authored: Tue Nov 4 22:56:22 2014 +0530
Committer: Asiri LIyana Arachchi <as...@gmail.com>
Committed: Tue Nov 4 22:56:22 2014 +0530
----------------------------------------------------------------------
.../AverageRuestsServingCapabilityEvent.java | 32 ++++++++++++++++++++
1 file changed, 32 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/e1cf3082/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/health/stat/AverageRuestsServingCapabilityEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/health/stat/AverageRuestsServingCapabilityEvent.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/health/stat/AverageRuestsServingCapabilityEvent.java
new file mode 100644
index 0000000..97d7708
--- /dev/null
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/health/stat/AverageRuestsServingCapabilityEvent.java
@@ -0,0 +1,32 @@
+package org.apache.stratos.messaging.event.health.stat;
+
+/**
+ * Created by asiri on 8/10/14.
+ */
+import org.apache.stratos.messaging.event.Event;
+
+public class AverageRuestsServingCapabilityEvent extends Event {
+ private final String networkPartitionId;
+ private final String clusterId;
+ private final float value;
+
+ public AverageRuestsServingCapabilityEvent(String networkPartitionId, String clusterId, float value) {
+ this.networkPartitionId = networkPartitionId;
+ this.clusterId = clusterId;
+ this.value = value;
+
+ }
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public float getValue() {
+ return value;
+ }
+
+ public String getNetworkPartitionId() {
+ return networkPartitionId;
+ }
+
+
+}