aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-13 23:28:11 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-13 23:28:11 -0700
commit692a52be1c5b2c1f08d04f5eed1b73b31a9539e0 (patch)
tree128f48cb666bca89630847cfd446df9296698788 /src/main/java/org/traccar/model
parent47c35e66193d1dda4db5c326c9d39709aee3e2a6 (diff)
downloadtrackermap-server-692a52be1c5b2c1f08d04f5eed1b73b31a9539e0.tar.gz
trackermap-server-692a52be1c5b2c1f08d04f5eed1b73b31a9539e0.tar.bz2
trackermap-server-692a52be1c5b2c1f08d04f5eed1b73b31a9539e0.zip
Collect protocol statistics
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r--src/main/java/org/traccar/model/Statistics.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/model/Statistics.java b/src/main/java/org/traccar/model/Statistics.java
index cb72c91dd..a9a117aef 100644
--- a/src/main/java/org/traccar/model/Statistics.java
+++ b/src/main/java/org/traccar/model/Statistics.java
@@ -16,6 +16,7 @@
package org.traccar.model;
import java.util.Date;
+import java.util.Map;
public class Statistics extends ExtendedModel {
@@ -119,4 +120,14 @@ public class Statistics extends ExtendedModel {
this.geolocationRequests = geolocationRequests;
}
+ private Map<String, Integer> protocols;
+
+ public Map<String, Integer> getProtocols() {
+ return protocols;
+ }
+
+ public void setProtocols(Map<String, Integer> protocols) {
+ this.protocols = protocols;
+ }
+
}