You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2017/09/14 14:59:34 UTC

[geode] 02/05: GEODE-3083: New protocol should record statistics

This is an automated email from the ASF dual-hosted git repository.

bschuchardt pushed a commit to branch feature/GEODE-3083
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 1b83e7c19488ea8a83faf5e8c243f79b0a468503
Author: Bruce Schuchardt <bs...@pivotal.io>
AuthorDate: Wed Sep 13 12:50:34 2017 -0700

    GEODE-3083: New protocol should record statistics
    
    committing the stats interface that somehow wasn't added to the index when I repackaged it.
---
 .../statistics/ProtobufClientStatistics.java       | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/statistics/ProtobufClientStatistics.java b/geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/statistics/ProtobufClientStatistics.java
new file mode 100644
index 0000000..f769c31
--- /dev/null
+++ b/geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/statistics/ProtobufClientStatistics.java
@@ -0,0 +1,31 @@
+/*
+ * 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.
+ */
+package org.apache.geode.protocol.protobuf.statistics;
+
+import org.apache.geode.internal.cache.tier.sockets.ClientProtocolStatistics;
+
+public interface ProtobufClientStatistics extends ClientProtocolStatistics {
+  public void clientConnected();
+
+  public void clientDisconnected();
+
+  public void messageReceived(int bytes);
+
+  public void messageSent(int bytes);
+
+  public void incAuthorizationViolations();
+
+  public void incAuthenticationFailures();
+}

-- 
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <co...@geode.apache.org>.