activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r992371 - in /activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF: ./ org/ org/apache/ org/apache/activemq/ org/apache/activemq/apollo/ org/apache/activemq/apollo/store/ org/apache/activemq/apollo/store/bdb/ org/apache/acti...
Date Fri, 03 Sep 2010 16:49:00 GMT
Author: chirino
Date: Fri Sep  3 16:48:59 2010
New Revision: 992371

URL: http://svn.apache.org/viewvc?rev=992371&view=rev
Log:
adding web template so that the BDBStoreStatusDTO get properly rendered

Added:
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/store/
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/store/bdb/
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/store/bdb/dto/
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/store/bdb/dto/BDBStoreStatusDTO.scaml

Added: activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/store/bdb/dto/BDBStoreStatusDTO.scaml
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/store/bdb/dto/BDBStoreStatusDTO.scaml?rev=992371&view=auto
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/store/bdb/dto/BDBStoreStatusDTO.scaml
(added)
+++ activemq/activemq-apollo/trunk/apollo-bdb/src/main/resources/WEB-INF/org/apache/activemq/apollo/store/bdb/dto/BDBStoreStatusDTO.scaml
Fri Sep  3 16:48:59 2010
@@ -0,0 +1,38 @@
+-# Licensed to the Apache Software Foundation (ASF) under one or more
+-# contributor license agreements.  See the NOTICE file distributed with
+-# this work for additional information regarding copyright ownership.
+-# The ASF licenses this file to You under the Apache License, Version 2.0
+-# (the "License"); you may not use this file except in compliance with
+-# the License.  You may obtain a copy of the License at
+-#
+-# http://www.apache.org/licenses/LICENSE-2.0
+-#
+-# Unless required by applicable law or agreed to in writing, software
+-# distributed under the License is distributed on an "AS IS" BASIS,
+-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-# See the License for the specific language governing permissions and
+-# limitations under the License.
+
+- import it._
+- import org.apache.activemq.apollo.dto._
+- val helper = new org.apache.activemq.apollo.web.resources.ViewHelper
+- import helper._
+- import java.util.concurrent.TimeUnit._
+
+%p state: #{state} for #{ uptime(state_since) }
+
+%h2 Cancel Stats
+%p canceled message stores: #{canceled_message_counter}
+%p canceled message enqueues: #{canceled_enqueue_counter}
+
+%h2 Flush Stats
+%p flushed message stores: #{flushed_message_counter}
+%p flushed message enqueues: #{flushed_enqueue_counter}
+
+%h2 Store Latency Stats
+
+- def show(name:String, value:TimeMetricDTO)
+  %p #{name} : average #{value.avg(MILLISECONDS)} ms,  min #{value.min(MILLISECONDS)} ms,
max #{value.max(MILLISECONDS)} ms, #{value.count} events
+
+- show("Message load latency", message_load_latency)
+- show("UOW flush latency", flush_latency)



Mime
View raw message